Vulnerability · Published Jun 11, 2026 · Assigned by vmware

CVE-2026-40997SOAP security faults leak Spring Security account state

Medium 5.3

In plain English

A medium-severity security flaw in Spring Web Services from Spring. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 69.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.springframework.ws:spring-ws-security5.0.2GHSA-5x25-c2rf-f2jx
Mavenorg.springframework.ws:spring-ws-security4.1.4GHSA-5x25-c2rf-f2jx
Mavenorg.springframework.ws:spring-ws-securityno fix listedGHSA-5x25-c2rf-f2jx
Mavenorg.springframework.ws:spring-ws-securityno fix listedGHSA-5x25-c2rf-f2jx
Ubuntu:22.04:LTSspringno fix listedUBUNTU-CVE-2026-40997
Ubuntu:24.04:LTSspringno fix listedUBUNTU-CVE-2026-40997
Ubuntu:25.10springno fix listedUBUNTU-CVE-2026-40997
Ubuntu:26.04:LTSspringno fix listedUBUNTU-CVE-2026-40997
Ubuntu:26.10springno fix listedUBUNTU-CVE-2026-40997

Affected products (as reported)

VendorProductVersions
Spring Spring Web Services 5.0.0 – before 5.0.1.14.1.0 – before 4.1.3.14.0.0 – before 4.0.193.1.0 – before 3.1.9

Weakness: CWE-209 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References