{"id":"CVE-2026-40995","aliases":["GHSA-6mfm-98wv-32wm"],"url":"https://o3.security/vulnerability/CVE-2026-40995","summary":"X.509 authentication bypasses Spring Security account checks","details":"X509AuthenticationProvider could issue a fully authenticated X509AuthenticationToken when a presented certificate mapped to UserDetails, without applying Spring Security's standard account lifecycle checks (disabled, locked, expired, or credentials-expired accounts).\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.","published":"2026-06-11T05:04:01.695Z","modified":"2026-09-06T11:45:35.241905529Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"},"epss":{"score":0.00148,"percentile":0.04408,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.springframework.ws:spring-ws-security","fixedVersion":"5.0.2"},{"ecosystem":"Maven","name":"org.springframework.ws:spring-ws-security","fixedVersion":"4.1.4"},{"ecosystem":"Maven","name":"org.springframework.ws:spring-ws-security","fixedVersion":null},{"ecosystem":"Maven","name":"org.springframework.ws:spring-ws-security","fixedVersion":null}],"fix":{"url":"https://github.com/spring-projects/spring-ws/commit/e5dc311359e14f5b25bcb33f20d43cc3513e9d10","label":"spring-projects/spring-ws@e5dc311"},"references":[{"type":"WEB","url":"https://spring.io/security/cve-2026-40995"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40995.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40995"},{"type":"WEB","url":"https://github.com/spring-projects/spring-ws/commit/e5dc311359e14f5b25bcb33f20d43cc3513e9d10"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-ws"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-06T11:45:35.241905529Z"}}