CVE-2026-40996: CWE-327: Use of a Broken or Risky Cryptographic Algorithm in Spring Spring Web Services
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.
AI Analysis
Technical Summary
The vulnerability arises because the Wss4jSecurityInterceptor in Spring Web Services defaults the allowRSA15KeyTransportAlgorithm flag to true, which permits the use of the RSA PKCS#1 v1.5 key transport algorithm for WS-Security decryption. This behavior overrides the safer default setting in Apache WSS4J, potentially allowing weaker cryptographic protections unless the flag is explicitly disabled by operators. The affected versions span multiple major releases of Spring Web Services, specifically 3.1.0 to 3.1.8, 4.0.0 to 4.0.18, 4.1.0 to 4.1.3, and 5.0.0 to 5.0.1. No official patch or remediation level has been published as of the data provided.
Potential Impact
The use of the RSA PKCS#1 v1.5 key transport algorithm, which is considered broken or risky, can weaken the cryptographic security of WS-Security inbound message decryption. This may lead to potential confidentiality and integrity issues in the affected Spring Web Services implementations. The CVSS score of 4.8 reflects a medium severity impact with network attack vector, high attack complexity, no privileges required, no user interaction, and low confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Operators should explicitly reconfigure the allowRSA15KeyTransportAlgorithm flag to false to avoid accepting RSA PKCS#1 v1.5 encrypted key material. Monitoring vendor communications for an official fix or update is recommended.
CVE-2026-40996: CWE-327: Use of a Broken or Risky Cryptographic Algorithm in Spring Spring Web Services
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.
CVSS v3.1
Score 4.8medium
Affected software
pkg:maven/org.springframework.ws/spring-ws-coreRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the Wss4jSecurityInterceptor in Spring Web Services defaults the allowRSA15KeyTransportAlgorithm flag to true, which permits the use of the RSA PKCS#1 v1.5 key transport algorithm for WS-Security decryption. This behavior overrides the safer default setting in Apache WSS4J, potentially allowing weaker cryptographic protections unless the flag is explicitly disabled by operators. The affected versions span multiple major releases of Spring Web Services, specifically 3.1.0 to 3.1.8, 4.0.0 to 4.0.18, 4.1.0 to 4.1.3, and 5.0.0 to 5.0.1. No official patch or remediation level has been published as of the data provided.
Potential Impact
The use of the RSA PKCS#1 v1.5 key transport algorithm, which is considered broken or risky, can weaken the cryptographic security of WS-Security inbound message decryption. This may lead to potential confidentiality and integrity issues in the affected Spring Web Services implementations. The CVSS score of 4.8 reflects a medium severity impact with network attack vector, high attack complexity, no privileges required, no user interaction, and low confidentiality and integrity impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Operators should explicitly reconfigure the allowRSA15KeyTransportAlgorithm flag to false to avoid accepting RSA PKCS#1 v1.5 encrypted key material. Monitoring vendor communications for an official fix or update is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-16T02:19:12.969Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2a59ba318757064921d3b3
Added to database: 06/11/2026, 06:46:18 UTC
Last enriched: 06/24/2026, 14:29:59 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 97
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.