Skip to main content

Spring Web Services EUVDEUVD-2026-36205

| CVE-2026-40995 MEDIUM
Improper Authentication (CWE-287)
2026-06-11 vmware GHSA-6mfm-98wv-32wm
5.4
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid X.509 certificate for a disabled or locked account
  2. Delivery
    Connect to Spring-WS SOAP endpoint via mTLS
  3. Exploit
    Present certificate during TLS handshake
  4. Execution
    X509AuthenticationProvider maps cert to UserDetails without lifecycle check
  5. Persist
    Fully authenticated X509AuthenticationToken issued
  6. Impact
    Access 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Spring Web Services 4.1.0 <4.1.4
Spring Web Services 4.0.0 <4.0.19
Spring Web Services 3.1.0 <3.1.9
Spring Web Services 5.0.0 <5.0.2

Affected Packages

maven org.springframework.ws:spring-ws-security fix: 4.1.4, 5.0.2
euvd spring_web_services fix: 3.1.9, 4.0.19, 4.1.4, 5.0.2

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

Vendor (vmware) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Jun 11, 2026 - 08:01 EUVD

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Spring

View all
CVE-2025-70982 CRITICAL POC
9.9 Jan 26

Access control bypass in SpringBlade v4.5.0 importUser function allows low-privileged users to import sensitive user dat

CVE-2026-22739 HIGH POC
8.6 Mar 24

Spring Cloud Config Server contains a path traversal vulnerability when using the native file system backend, allowing u

CVE-2025-41242 MEDIUM POC
5.9 Aug 18

Spring Framework MVC applications can be vulnerable to a “Path Traversal Vulnerability” when deployed on a non-compliant

CVE-2025-70983 CRITICAL
9.9 Jan 23

SpringBlade v4.5.0 has an access control flaw in authRoutes allowing low-privileged users to escalate to admin through t

CVE-2026-41699 CRITICAL
9.8 Jun 11

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

CVE-2026-59313 CRITICAL
9.8 Aug 27

Server-Sent Events (SSE) stream corruption affects Spring MVC applications built on the functional web framework across

CVE-2026-22738 CRITICAL
9.8 Mar 27

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

CVE-2026-41855 CRITICAL
9.8 Jun 09

Unsafe JSON deserialization in Spring Framework's JMS message converters (MappingJackson2MessageConverter and JacksonJso

CVE-2025-41232 CRITICAL
9.1 May 21

Spring Security Aspects may not correctly locate method security annotations on private methods. Rated critical severity

CVE-2026-59283 CRITICAL
9.1 Aug 27

Safety-guard bypass in the Spring Framework SpEL engine (VMware/Broadcom) lets attacker-controlled expression input esca

CVE-2026-40982 CRITICAL
9.1 May 07

Directory traversal in Spring Cloud Config server module allows remote unauthenticated attackers to read arbitrary files

CVE-2026-22732 CRITICAL POC
9.1 Mar 19

Spring Security fails to properly write HTTP response headers in servlet applications across multiple versions (5.7.0-5.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy