{"id":"CVE-2026-40996","published":"2026-06-11T05:04:05Z","modified":"2026-06-23T19:48:50Z","title":"Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default","vendor":"Spring","product":"Spring Web Services","tier":"tail","description":{"text":"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.\n\nAffected versions:\nSpring 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00129,"percentile":0.02602,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://spring.io/security/cve-2026-40996","tags":[]}],"priority":{"score":3.9,"factors":[{"name":"EPSS percentile","points":0.52},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Web Services","versions":[">= 5.0.0, < 5.0.1.1",">= 4.1.0, < 4.1.3.1",">= 4.0.0, < 4.0.19",">= 3.1.0, < 3.1.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-11T12:44:42.180161Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.ws:spring-ws-security","vulnerableRanges":[">=5.0.0, <5.0.2",">=4.1.0, <4.1.4",">=4.0.0, <=4.0.18",">=3.1.0, <=3.1.8"],"patched":["5.0.2","4.1.4"],"from":["GHSA-p7qj-2q5w-f9r7"],"provenance":"source"}],"summary":{"text":"Spring Web Services contains a flaw in its Wss4jSecurityInterceptor, which defaults allowRSA15KeyTransportAlgorithm to true and so overrides Apache WSS4J's safer default, allowing inbound WS-Security decryption to accept RSA PKCS#1 v1.5 (rsa-1_5) encrypted key material. An attacker with network access to a vulnerable endpoint, and with no authentication or user interaction required, may exploit this unless operators have explicitly reconfigured the flag, which is a high-complexity attack.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:22:12Z"},"euvd":{"id":"EUVD-2026-36206","exploited":false,"provenance":"source"}}