{"id":"CVE-2026-40995","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-40995","summary":"Spring Web Services: 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-11T09:31:56Z","modified":"2026-08-21T19:15:07.748431701Z","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":null,"cisaKev":null,"exploitsKnown":null,"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":"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"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40995"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-21T19:15:07.748431701Z"}}