{"id":"GHSA-6mfm-98wv-32wm","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.","aliases":["CVE-2026-40995"],"modified":"2026-08-21T19:25:59.158078Z","published":"2026-06-11T09:31:56Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-08-21T19:12:41Z","nvd_published_at":"2026-06-11T07:16:27Z","cwe_ids":["CWE-287"]},"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"}],"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-6mfm-98wv-32wm/GHSA-6mfm-98wv-32wm.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-6mfm-98wv-32wm/GHSA-6mfm-98wv-32wm.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-6mfm-98wv-32wm/GHSA-6mfm-98wv-32wm.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-6mfm-98wv-32wm/GHSA-6mfm-98wv-32wm.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"}]}