CVE-2026-40995
MEDIUMX.509 authentication bypasses Spring Security account checks
Title source: cnaDescription
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). Affected versions: Spring 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.
References (1)
Core 1
Core References
Scores
CVSS v3
5.4
EPSS
0.0018
EPSS Percentile
7.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-287
Status
published
Products (4)
Spring/Spring Web Services
3.1.0 - 3.1.9
Spring/Spring Web Services
4.0.0 - 4.0.19
Spring/Spring Web Services
4.1.0 - 4.1.4
Spring/Spring Web Services
5.0.0 - 5.0.2
Published
Jun 11, 2026
Tracked Since
Jun 11, 2026