{"id":"CVE-2026-40995","state":"PUBLISHED","title":"X.509 authentication bypasses Spring Security account checks","description":"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.","publishedAt":"2026-06-11T05:04:01.695Z","updatedAt":"2026-06-23T19:48:20.837Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"vmware"},"assigner":"vmware","products":["Spring Spring Web Services"],"affected":[{"vendor":"Spring","product":"Spring Web Services","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.1.1","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.3.1","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.19","versionType":"custom"},{"version":"3.1.0","status":"affected","lessThan":"3.1.9","versionType":"custom"}]}],"references":["https://spring.io/security/cve-2026-40995"],"weaknesses":["CWE-287"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/40xxx/CVE-2026-40995.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-40995","state":"PUBLISHED","datePublished":"2026-06-11T05:04:01.695Z","dateUpdated":"2026-06-23T19:48:20.837Z","assignerShortName":"vmware","assignerOrgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateReserved":"2026-04-16T02:19:12.969Z"},"containers":{"cna":{"title":"X.509 authentication bypasses Spring Security account checks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Spring","product":"Spring Web Services","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.0.1.1","versionType":"custom"},{"version":"4.1.0","status":"affected","lessThan":"4.1.3.1","versionType":"custom"},{"version":"4.0.0","status":"affected","lessThan":"4.0.19","versionType":"custom"},{"version":"3.1.0","status":"affected","lessThan":"3.1.9","versionType":"custom"}]}],"references":[{"url":"https://spring.io/security/cve-2026-40995"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":5.4,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]}],"providerMetadata":{"shortName":"vmware","orgId":"dcf2e128-44bd-42ed-91e8-88f912c1401d","dateUpdated":"2026-06-23T19:48:20.837Z"},"impacts":[{"descriptions":[{"lang":"en","value":"Accounts that are disabled, locked, expired, or have expired credentials can still authenticate when mutual TLS or certificate-based SOAP authentication is used via X509AuthenticationProvider."}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-06-11T12:45:07.868437Z","id":"CVE-2026-40995","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-11T12:45:15.590Z"}}]}}}