Skip to main content

Spring Web Services CVE-2026-40997

| EUVDEUVD-2026-36207 MEDIUM
Error Message Information Leak (CWE-209)
2026-06-11 vmware GHSA-5x25-c2rf-f2jx
5.3
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

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

  1. Access
    Send unauthenticated SOAP authentication request
  2. Delivery
    Trigger typed Spring Security account-state exception
  3. Exploit
    Observe differentiated SOAP fault response content
  4. Execution
    Distinguish valid-locked or valid-disabled accounts from non-existent ones
  5. Persist
    Compile enumerated account list
  6. Impact
    Stage targeted credential or social-engineering attack

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target application exposes a Spring-WS SOAP endpoint that is integrated with Spring Security for authentication (e.g., via WsSecuritySecurementInterceptor or a comparable Spring-WS/Spring Security integration path). The endpoint must be reachable over the network by the attacker. No authentication is required by the attacker - the disclosure occurs during the authentication attempt itself, before any credential validation succeeds. The vulnerability does NOT affect Spring MVC REST endpoints, non-SOAP Spring Security configurations, or applications that do not use Spring-WS. The key limiting factor is the requirement for the specific Spring-WS + Spring Security integration; a plain Spring Boot REST application is not in scope even if running the same Spring Security version.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N correctly characterizes this as a low-complexity, unauthenticated network-accessible flaw with narrow, read-only impact. Real-world risk is principally reconnaissance value: an attacker can distinguish valid but locked or disabled accounts from entirely non-existent ones, enabling more targeted credential stuffing, account-takeover preparation, or social engineering. EPSS data was not provided in the input, so exploitation probability cannot be quantified. No CISA KEV listing and no confirmed POC means active exploitation is not confirmed - this is an unauthenticated enumeration aid, not a direct compromise path. Organizations with externally exposed SOAP endpoints, regulatory obligations around information disclosure (PCI-DSS, HIPAA), or high-value user bases should treat this as a medium-priority patch. The impact is limited strictly to confidentiality of account metadata; integrity and availability are unaffected per CVSS.

Exploit ScenarioDerived

An attacker targeting an externally accessible Spring-WS SOAP endpoint iterates through a list of known or suspected usernames, submitting authentication requests and comparing SOAP fault response content. Responses for accounts that exist but are locked or disabled return distinct exception messages rather than a uniform failure, allowing the attacker to build a map of valid-but-inactive accounts for follow-on targeted credential attacks. No exploit code is required - the differentiated responses are observable through standard SOAP tooling.

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

Information disclosure in Spring Web Services (Spring-WS) exposes account lifecycle state - such as locked, disabled, or expired status - to remote unauthenticated SOAP clients through verbose exception messages or callback outcomes during authentication processing. Affected are four actively maintained branches (3.1.x through 5.0.x) when the SOAP layer is integrated with Spring Security; the root cause is CWE-209, where error handling fails to normalize Spring Security's typed account-state exceptions into generic authentication failures. No public exploit code and no CISA KEV listing have been identified at time of analysis; however, the CVSS 5.3 (Medium) rating reflects genuine reconnaissance utility for account enumeration against exposed SOAP endpoints.

RemediationAI

The primary fix is to upgrade to a patched release; the vendor advisory at https://spring.io/security/cve-2026-40997 should be consulted for exact fixed versions, as specific patch version numbers were not included in the available input data - the patch is available per vendor advisory. If an immediate upgrade is not feasible, a viable compensating control is to implement a custom AuthenticationFailureHandler or WsSecuritySecurementInterceptor that catches all Spring Security typed account-state exceptions and re-throws or returns a single generic authentication-failed outcome before the response reaches the SOAP marshalling layer; this eliminates differentiated error semantics without requiring a code upgrade but must be applied to every affected integration point. Additionally, network-level access controls that restrict SOAP endpoint exposure to trusted networks or IP ranges reduce the attack surface at the cost of limiting legitimate client reach. Note that neither workaround addresses the root defect in the library itself, and both require ongoing maintenance discipline.

Affected VersionsENISA

Spring Web Services 4.1.0 <4.1.4
Spring Web Services 3.1.0 <3.1.9
Spring Web Services 4.0.0 <4.0.19
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 VMware's contract-first SOAP framework for Java applications. When paired with Spring Security, authentication failures ordinarily produce several distinct typed exceptions - LockedException, DisabledException, AccountExpiredException, and CredentialsExpiredException - each conveying specific account lifecycle semantics. CWE-209 (Generation of Error Message Containing Sensitive Information) applies because certain Spring-WS integration paths propagate these distinct exceptions - or their messages - directly into SOAP fault responses or callback return values rather than collapsing them into a uniform authentication-denied signal. The CPE cpe:2.3:a:spring:spring_web_services:*:*:*:*:*:*:*:* covers all Spring-WS artifacts across the affected version ranges: 3.1.0-3.1.8, 4.0.0-4.0.18, 4.1.0-4.1.3, and 5.0.0-5.0.1. The flaw is specific to SOAP endpoint configurations - not Spring MVC REST or non-WS Spring Security flows.

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.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

Network-accessible SOAP endpoint, no special conditions, unauthenticated trigger; only account-state metadata disclosed, no integrity or availability impact.

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

Primary rating from Vendor (vmware).

CVSS VectorVendor: vmware

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

Lifecycle Timeline

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

DescriptionCVE.org

Several Spring WS integration paths with Spring Security could surface detailed account state (for example locked or disabled user semantics) to remote SOAP clients through exception messages or callback outcomes, instead of failing with generic authentication errors. That behavior assists remote attackers in distinguishing valid accounts from invalid ones and inferring lifecycle state.

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 87% exploitable
Data Quality
5 sources
Confidence: Medium

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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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