CVE-2026-40995 Spring Web Services
| Affected software | Spring Web Services |
|---|---|
| Severity | 5.4 Medium CVSS 3.1 |
| Fixed in | 5.0.2, 4.1.4 |
| Weakness | Improper authentication (CWE-287) |
| Published | 11 Jun 2026 |
| Updated | 4 Sep 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.15% chance in 30 days
Waratek protection
Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.
A public code fix exists: spring-projects/spring-ws e5dc311.
- Protection none
- Action unverified
- Review automated Upstream data
- Record active
| Decided by | Medium or Low severity, no CISA or VulnCheck KEV listing, no PoC clearing the evidence bar, no CISA verdict, no Oracle advisory |
|---|---|
| Finding | This CVE is MEDIUM severity, is not listed in CISA KEV or VulnCheck KEV, has no public exploit or PoC in any indexed source, carries no CISA Vulnrichment finding of a demonstrated exploit, and is not part of an Oracle Critical Patch Update. None of the signals that would put it in front of an engineer is present, and the volume of CVEs below that bar is too great to take one at a time, so no rule is written for it. This is a decision about what we act on, not a finding that the CVE is harmless — a patch may well be derivable, and a low-severity defect can still be one link in a longer chain. |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.springframework.ws:spring-ws-security |
5.0.0 | 5.0.2 |
unbounded |
org.springframework.ws:spring-ws-security |
4.1.0 | 4.1.4 |
unbounded |
org.springframework.ws:spring-ws-security |
4.0.0 | none | 4.0.18 |
org.springframework.ws:spring-ws-security |
3.1.0 | none | 3.1.8 |
Products and versions
2 products, 8 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | broadcom | spring web services | generic | < 3.1.9 · ≥ 4.0.0 and < 4.0.19 · ≥ 4.1.0 and < 4.1.3.1 · ≥ 5.0.0 and < 5.0.1.1 |
| osv | org.springframework.ws | spring-ws-security | generic | ≥ 3.1.0 and ≤ 3.1.8 · ≥ 4.0.0 and ≤ 4.0.18 · ≥ 4.1.0 and < 4.1.4 · ≥ 5.0.0 and < 5.0.2 |
References
Timeline
Timeline
| Published | 2026-06-11 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-09-04 | NVD's own last-modified date for this record. |