CVE-2026-40995
published medium CVSS 3.1 · 5.4X.509 authentication bypasses Spring Security account checks
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Web Services5.0.0 to < 5.0.1.1 · 4.1.0 to < 4.1.3.1 · 4.0.0 to < 4.0.19 · 3.1.0 to < 3.1.9 · Other versions: unaffected | Affected | Not stated | vmware |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Web Services | 5.0.0 to < 5.0.1.1 (affected · custom)4.1.0 to < 4.1.3.1 (affected · custom)4.0.0 to < 4.0.19 (affected · custom)3.1.0 to < 3.1.9 (affected · custom)Default: unaffected | vmware · cna |
Weaknesses
1- CWE-287 CWE-287: Improper Authentication
References
1Provider assertions
2vmware · cna
X.509 authentication bypasses Spring Security account checks
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3f86c501be24ac6dddc9ba5a6ab2a9b2010dc63dd56ee6c947282766096da874
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record