CVE-2026-40995 X.509 authentication bypasses Spring Security account checks
MediumCVSS 5.4
EPSS 0.15%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| broadcom spring web services | < 3.1.9; >= 4.0.0, < 4.0.19; >= 4.1.0, < 4.1.3.1; >= 5.0.0, < 5.0.1.1 | 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 | Fixed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.0; = 3.1.1; = 3.1.2; = 3.1.3 +35 more | 4.1.4, 5.0.2 | Fixed |
| Spring Web Services | >= 3.1.0, < 3.1.9; >= 4.0.0, < 4.0.19; >= 4.1.0, < 4.1.3.1; >= 5.0.0, < 5.0.1.1 | 3.1.9, 4.0.19, 4.1.3.1, 5.0.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws/spring-ws-security(Maven) | >= 5.0.0, < 5.0.2 | 5.0.2 |
| org.springframework.ws/spring-ws-security(Maven) | = 5.0.0 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 5.0.1 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | >= 4.1.0, < 4.1.4 | 4.1.4 |
| org.springframework.ws/spring-ws-security(Maven) | = 4.1.0 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.1.1 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.1.2 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.1.3 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | >= 4.0.0, <= 4.0.18 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.0 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.1 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.10 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.11 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.12 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.13 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.14 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.15 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.16 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.17 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.2 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.3 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.4 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.5 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.6 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.7 | No fix listed |
Show 22 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.8 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 4.0.9 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | >= 3.1.0, <= 3.1.8 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.0 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.1 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.2 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.3 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.4 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.5 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.6 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.7 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | = 3.1.8 | No fix listed |
| Spring Web Services | >= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
| Spring Web Services | >= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| Spring Web Services | >= 4.0.0, < 4.0.19 | 4.0.19 |
| Spring Web Services | >= 3.1.0, < 3.1.9 | 3.1.9 |
| org.springframework.ws/spring-ws-security(Maven) | >= 5.0.0, <= 5.0.1 | No fix listed |
| org.springframework.ws/spring-ws-security(Maven) | >= 4.1.0, <= 4.1.3 | No fix listed |
| broadcom spring web services | < 3.1.9 | 3.1.9 |
| broadcom spring web services | >= 4.0.0, < 4.0.19 | 4.0.19 |
| broadcom spring web services | >= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| broadcom spring web services | >= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- spring.io vendor-advisory
- github.com