{"id":"CVE-2026-40995","published":"2026-06-11T05:04:01Z","modified":"2026-06-23T19:48:20Z","title":"X.509 authentication bypasses Spring Security account checks","vendor":"Spring","product":"Spring Web Services","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00148,"percentile":0.04092,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://spring.io/security/cve-2026-40995","tags":[]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.82},{"name":"CVSS severity","points":3.78}]},"vendorSlug":"spring","affectedVersions":[{"vendor":"Spring","product":"Spring Web Services","versions":[">= 5.0.0, < 5.0.1.1",">= 4.1.0, < 4.1.3.1",">= 4.0.0, < 4.0.19",">= 3.1.0, < 3.1.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-11T12:45:07.868437Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.springframework.ws:spring-ws-security","vulnerableRanges":[">=5.0.0, <5.0.2",">=4.1.0, <4.1.4",">=4.0.0, <=4.0.18",">=3.1.0, <=3.1.8"],"patched":["5.0.2","4.1.4"],"from":["GHSA-6mfm-98wv-32wm"],"provenance":"source"}],"summary":{"text":"The X509AuthenticationProvider in Spring Web Services can issue a fully authenticated X509AuthenticationToken for a presented certificate that maps to a user, skipping Spring Security's standard account lifecycle checks. An attacker with network access and a low-privileged account, requiring no user interaction, could use this to authenticate as an account that is disabled, locked, expired, or has expired credentials.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:02Z"},"euvd":{"id":"EUVD-2026-36205","exploited":false,"provenance":"source"}}