Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid X.509 certificate for a disabled or locked account
-
DeliveryConnect to Spring-WS SOAP endpoint via mTLS
-
ExploitPresent certificate during TLS handshake
-
ExecutionX509AuthenticationProvider maps cert to UserDetails without lifecycle check
-
PersistFully authenticated X509AuthenticationToken issued
-
ImpactAccess protected web service operations as deprovisioned identity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the target application to be built on Spring Web Services and configured to use X509AuthenticationProvider for client certificate (mTLS) authentication. The attacker must possess a valid X.509 certificate that resolves to an entry in the application's UserDetails store - a certificate issued to a user whose account has since been administratively disabled, locked, expired, or flagged with credentials-expired status. Unauthenticated attackers or those without a mapped certificate cannot trigger this path. The bypass is further constrained by whether the deployment enforces certificate revocation: environments that revoke certificates via CRL or OCSP at the TLS layer will reject the certificate before it reaches X509AuthenticationProvider, making the application-level check bypass unreachable. The vulnerability does not affect deployments that use other authentication mechanisms (e.g., username/password, SAML, OAuth2) even if Spring Web Services is in use. |
| Impact | The vendor-assigned CVSS 5.4 (Medium) reflects a network-reachable flaw requiring low privileges (PR:L) with partial confidentiality and integrity impact and no availability impact. PR:L is consistent with the real-world prerequisite: the attacker must already possess a valid X.509 client certificate mapped to a user account, which is a meaningful barrier and limits opportunistic mass exploitation. EPSS data was not provided in the available intelligence, so exploitation probability cannot be quantified against the broader threat landscape. There is no CISA KEV listing and no public POC identified at time of analysis. Real-world risk is highest in deployments that treat account disablement as the primary deprovisioning action - for example, disabling a departing employee's account while leaving their certificate valid and unrevoked. In those environments, the bypass allows a deprovisioned user (or an attacker who has stolen their certificate) to retain authenticated access indefinitely. Where certificate revocation via CRL or OCSP is enforced as the primary control, risk is substantially reduced because the TLS handshake fails before the application layer is reached. There is no conflict between the CVSS vector and the description - both align on a network-accessible, low-privilege, limited-impact authentication bypass. |
| Exploit ScenarioDerived | An attacker who possesses a valid X.509 client certificate previously issued to a deprovisioned user - whose account has been disabled or locked in the UserDetails store but whose certificate has not been revoked - initiates a SOAP request to the affected Spring-WS endpoint over mTLS. The X509AuthenticationProvider maps the certificate to the disabled UserDetails record, skips the account lifecycle checks, and issues a fully authenticated X509AuthenticationToken, granting the attacker authenticated service access as the deprovisioned user. No public POC has been identified at time of analysis; the attack requires certificate possession and network-level access to the service endpoint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
X509AuthenticationProvider in Spring Web Services issues fully authenticated tokens from client certificates without enforcing Spring Security's account lifecycle checks, meaning disabled, locked, expired, or credentials-expired accounts can successfully authenticate. This affects all maintained release branches from 3.1.0 through 5.0.1 and was reported by VMware, the Spring project maintainer. No public exploit or CISA KEV listing has been identified at time of analysis, but the bypass is meaningful in environments that rely on account-disablement as the primary deprovisioning control rather than certificate revocation.
RemediationAI
The primary remediation is to upgrade to a fixed version of Spring Web Services once patched releases are confirmed via the vendor advisory at https://spring.io/security/cve-2026-40995. No exact fixed version number is available in the current intelligence - the advisory must be consulted directly for the specific target version per affected branch. As an immediate compensating control prior to patching, organizations should ensure that user deprovisioning workflows include explicit certificate revocation through CRL updates or OCSP stapling in addition to account disablement in the UserDetails store; this prevents the TLS layer from presenting the certificate to the application at all, neutralizing the bypass. A second workaround, if mutual TLS certificate authentication via X509AuthenticationProvider is not strictly required by the application, is to disable that authentication provider in the Spring Security configuration - this eliminates the vulnerable code path entirely but will break all certificate-based login flows for legitimate users. Both compensating controls have operational trade-offs that should be evaluated against the deployment's authentication architecture before implementation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spring Web Services (Spring-WS) is a Java contract-first SOAP framework built atop the broader Spring ecosystem. Client X.509 certificate authentication in Spring-WS flows through X509AuthenticationProvider, which maps a presented certificate to a UserDetails object. Under standard Spring Security design, any UserDetails retrieval is subject to AccountStatusUserDetailsChecker, which enforces four lifecycle predicates: account enabled, account non-locked, account non-expired, and credentials non-expired. CWE-287 (Improper Authentication) captures the root cause: the provider short-circuits this checker and emits a fully authenticated X509AuthenticationToken the moment a valid certificate-to-UserDetails mapping is resolved, bypassing the enforcement gate entirely. The affected CPE is cpe:2.3:a:spring:spring_web_services:*:*:*:*:*:*:*:*, spanning versions 3.1.0 through 5.0.1 across four release branches.
Know when Spring gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Certificate possession is equivalent to low-privilege credential (PR:L); scope is unchanged and impact is bounded to authenticated service resources (C:L/I:L/A:N).
Primary rating from Vendor (vmware).
CVSS VectorVendor: vmware
Lifecycle Timeline
1DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 2 maven packages depend on org.springframework.ws:spring-ws-security (2 direct, 0 indirect)
Ecosystem-wide dependent count for version 5.0.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat
Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u
Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant
SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t
Remote code execution in Spring for GraphQL versions 1.3.0-1.3.8, 1.4.0-1.4.5, and 2.0.0-2.0.3 allows unauthenticated at
Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across
Spring AI versions 1.0.0 through 1.0.4 and 1.1.0 through 1.1.3 allow unauthenticated remote code execution through Sprin
Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso
Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity
Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca
Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files
Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.
EUVD-2026-36205
GHSA-6mfm-98wv-32wm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB