{"id":"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.","aliases":["GHSA-6mfm-98wv-32wm"],"modified":"2026-09-06T11:45:35.241905529Z","published":"2026-06-11T05:04:01.695Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40995.json","unresolved_ranges":[{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.1.1"},{"introduced":"4.1.0"},{"fixed":"4.1.3.1"},{"introduced":"4.0.0"},{"fixed":"4.0.19"},{"introduced":"3.1.0"},{"fixed":"3.1.9"}],"source":"AFFECTED_FIELD"},{"extracted_events":[{"introduced":"5.0.0"},{"fixed":"5.0.1"},{"introduced":"4.1.0"},{"fixed":"4.1.3"},{"introduced":"4.0.0"},{"fixed":"4.0.18"},{"introduced":"3.1.0"},{"fixed":"3.1.8"}],"source":"DESCRIPTION"}],"cna_assigner":"vmware","cwe_ids":["CWE-287"]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/spring-projects/spring-ws","events":[{"introduced":"03e870960cc6f5b591bf16d3ad3897f0aa452cc7"},{"fixed":"bce4cbc3e388d270bca1593970637e2d58076565"}],"database_specific":{"extracted_events":[{"introduced":"3.1.0"},{"fixed":"3.1.8"}],"source":"DESCRIPTION"}}],"versions":["v3.1.7","v3.1.6","v3.1.5","v3.1.4","v3.1.3","v3.1.2","v3.1.1","v3.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40995.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}