Improper Authentication in Spring Web Services - CVE-2026-40995
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote user to bypass account lifecycle checks and authenticate with a disabled, locked, expired, or credentials-expired account.
The vulnerability exists due to improper authentication in X509AuthenticationProvider when processing certificate-based authentication. A remote user can present a certificate that maps to UserDetails to bypass account lifecycle checks and authenticate with a disabled, locked, expired, or credentials-expired account.
The issue affects users resolved from X509AuthoritiesPopulator and cached entries, and requires Spring WS X.509 integration with Spring Security.