CVE-2026-40996: Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default
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-15) 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Configuration
Set Wss4jSecurityInterceptor.allowRSA15KeyTransportAlgorithm to false to disallow RSA PKCS#1 v1.5 (rsa-1_5) key transport for inbound WS-Security decryption.
Wss4jSecurityInterceptor allowRSA15KeyTransportAlgorithm = false
Event History
Frequently Asked Questions
What is the severity of CVE-2026-40996?
The severity of CVE-2026-40996 is classified as medium with a score of 4.8.
How do I fix CVE-2026-40996?
To fix CVE-2026-40996, operators must explicitly reconfigure the allowRSA15KeyTransportAlgorithm flag to false.
What systems are affected by CVE-2026-40996?
CVE-2026-40996 affects the Spring Web Services framework.
What is the impact of CVE-2026-40996?
CVE-2026-40996 could allow malicious inbound WS-Security decryption to accept RSA PKCS#1 v1.5 encrypted key material.
When was CVE-2026-40996 published?
CVE-2026-40996 was published on June 11, 2026.