CVE Explorer
CVE-2026-40995
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"Spring Web Services","vendor":"Spring","versions":[{"lessThan":"5.0.1.1","status":"affected","version":"5.0.0","versionType":"custom"},{"lessThan":"4.1.3.1","status":"affected","version":"4.1.0","versionType":"custom"},{"lessThan":"4.0.19","status":"affected","version":"4.0.0","versionType":"custom"},{"lessThan":"3.1.9","status":"affected","version":"3.1.0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6d712678e7aef49446ab0271e2793d88899cbb709084a1d83374512ed0af5549 · sha256:510b3ce18dcad1ea… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6d712678e7aef49446ab0271e2793d88899cbb709084a1d83374512ed0af5549 · sha256:510b3ce18dcad1ea… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-287","description":"CWE-287: Improper Authentication","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6d712678e7aef49446ab0271e2793d88899cbb709084a1d83374512ed0af5549 · sha256:510b3ce18dcad1ea… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://spring.io/security/cve-2026-40995"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6d712678e7aef49446ab0271e2793d88899cbb709084a1d83374512ed0af5549 · sha256:510b3ce18dcad1ea… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.