CVE-2026-40995
MEDIUM 5.4CVSS 3.1Spring Web Services: X.509 authentication bypasses Spring Security account checks
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.
- Published
- 11 Jun 2026
- Last modified
- 4 Sep 2026
- Assigned by
- security@vmware.com
- NVD status
- Analyzed
- Weakness
- CWE-287
- Also known as
- GHSA-6mfm-98wv-32wm
- Sources
- NVDJSONOSV GHSA-6mfm-98wv-32wmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
< 3.1.9 | 3.1.9 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.0.19 | 4.0.19 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 4.1.0, < 4.1.3.1 | 4.1.3.1 |
| NVD | broadcom | spring_web_servicescpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.0.1.1 | 5.0.1.1 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 5.0.0, < 5.0.2 | 5.0.2 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 4.1.0, < 4.1.4 | 4.1.4 |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 4.0.0, <= 4.0.18 | |
| OSV | Maven | org.springframework.ws:spring-ws-security | >= 3.1.0, <= 3.1.8 |
References
- https://spring.io/security/cve-2026-40995 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-40995 · ADVISORY
- https://github.com/spring-projects/spring-ws/commit/e5dc311359e14f5b25bcb33f20d43cc3513e9d10 · WEB
- https://github.com/spring-projects/spring-ws · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 11 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Jun 2026)