CVE-2026-40996
Spring Web Services: Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default
Description
Wss4jSecurityInterceptor defaulted allowRSA15KeyTransportAlgorithm to true, overriding Apache WSS4J's safer default for validation RequestData. Inbound WS-Security decryption could therefore accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material unless operators explicitly reconfigured the flag.
Affected versions: Spring Web Services 5.0.0 through 5.0.1; 4.1.0 through 4.1.3; 4.0.0 through 4.0.18; 3.1.0 through 3.1.8.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws » spring-ws-security | >= 3.1.0, <= 3.1.8>= 4.0.0, <= 4.0.18>= 4.1.0, < 4.1.4>= 5.0.0, < 5.0.2 | 4.1.4, 5.0.2 |
Blast radius
43% of the dependent artifacts (7) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 358 |
| 2 hops | 122 |
| 3 hops | 10 |
Most used dependents
- io.camunda.community » zeebe-cherry-runtime12 usages
- org.bedework.deploy » bw-wf-core-feature-pack7 usages
- no.digipost » sdp-api-commons3 usages
- no.difi.sdp » sikker-digital-post-klient-java3 usages
- io.camunda.connector » connector-soap2 usages
- no.digipost » sdp-api-client2 usages
- io.camunda.connector » connector-runtime-bundle2 usages
- no.difi.meldingsutveksling » post-til-virksomhet1 usages
- no.difi.meldingsutveksling » post-til-private1 usages
- org.apereo.cas » cas-server-support-inwebo-mfa0 usages
- org.apereo.cas » cas-server-support-soap-authentication0 usages
- no.difi.meldingsutveksling » integrasjonspunkt0 usages
- io.camunda.connector » connector-runtime-bundle-saas0 usages
- io.camunda.connector » connectors-e2e-test-soap0 usages
- org.bedework.deploy » bw-wfmodules-spring-ws-security0 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-40996 | nvd.nist.gov |
| Package | spring-projects/spring-ws | github.com |
| Web | security/cve-2026-40996 | spring.io |
