CVE-2026-40995
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). 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.
How to fix
- broadcom spring_web_services3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 or later
- org.springframework.ws:spring-ws-security5.0.2, 4.1.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| broadcom spring_web_services | v < 3.1.9, 4.0.0 ≤ v < 4.0.19, 4.1.0 ≤ v < 4.1.3.1, 5.0.0 ≤ v < 5.0.1.1 | 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 |
| org.springframework.ws:spring-ws-securityMaven | 5.0.0 ≤ v < 5.0.2, 4.1.0 ≤ v < 4.1.4, 4.0.0 ≤ v ≤ 4.0.18, 3.1.0 ≤ v ≤ 3.1.8 | 5.0.2, 4.1.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.