CVE-2026-40995
X.509 authentication bypasses Spring Security account checks
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-287 |
| Vendor | spring |
| Product | spring web services |
| Ecosystems | |
| Industries | TechnologyEnterprise |
| Published | Jun 11, 2026 |
Stay Ahead of the Next One
Get instant alerts for spring spring web services
Be the first to know when new medium vulnerabilities affecting spring spring web services are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
Spring / Spring Web Services
5.0.0 < 5.0.2 4.1.0 < 4.1.4 4.0.0 < 4.0.19 3.1.0 < 3.1.9