{"id":"GHSA-p7qj-2q5w-f9r7","summary":"Spring Web Services: Inbound WS-Security allows RSA PKCS#1 v1.5 key transport by default","details":"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.","aliases":["CVE-2026-40996"],"modified":"2026-08-21T19:25:58.944539Z","published":"2026-06-11T09:31:56Z","database_specific":{"github_reviewed_at":"2026-08-21T19:12:53Z","nvd_published_at":"2026-06-11T07:16:27Z","cwe_ids":["CWE-327"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40996"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ws"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40996"}],"affected":[{"package":{"name":"org.springframework.ws:spring-ws-security","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ws/spring-ws-security"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.0.2"}]}],"versions":["5.0.0","5.0.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 5.0.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p7qj-2q5w-f9r7/GHSA-p7qj-2q5w-f9r7.json"}},{"package":{"name":"org.springframework.ws:spring-ws-security","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ws/spring-ws-security"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.4"}]}],"versions":["4.1.0","4.1.1","4.1.2","4.1.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 4.1.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p7qj-2q5w-f9r7/GHSA-p7qj-2q5w-f9r7.json"}},{"package":{"name":"org.springframework.ws:spring-ws-security","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ws/spring-ws-security"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.18"}]}],"versions":["4.0.0","4.0.1","4.0.10","4.0.11","4.0.12","4.0.13","4.0.14","4.0.15","4.0.16","4.0.17","4.0.2","4.0.3","4.0.4","4.0.5","4.0.6","4.0.7","4.0.8","4.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p7qj-2q5w-f9r7/GHSA-p7qj-2q5w-f9r7.json"}},{"package":{"name":"org.springframework.ws:spring-ws-security","ecosystem":"Maven","purl":"pkg:maven/org.springframework.ws/spring-ws-security"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.1.8"}]}],"versions":["3.1.0","3.1.1","3.1.2","3.1.3","3.1.4","3.1.5","3.1.6","3.1.7","3.1.8"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-p7qj-2q5w-f9r7/GHSA-p7qj-2q5w-f9r7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}