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.
{
"cna_assigner": "vmware",
"cwe_ids": [
"CWE-287"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40995.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.1.1"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.3.1"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.19"
},
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.9"
}
],
"source": "AFFECTED_FIELD"
},
{
"extracted_events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.1"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.3"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.18"
},
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.8"
}
],
"source": "DESCRIPTION"
}
]
}