GitHub Advisoryadvisory · Maven

GHSA-5x25-c2rf-f2jx Spring Web Services: SOAP security faults leak Spring Security account state

MEDIUM Published 2026-06-11 Modified 2026-08-21 Official page ↗
Aliases
CVE-2026-40997
Ecosystem
Maven
Packages
org.springframework.ws:spring-ws-security
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-209
Reviewed
2026-08-21

Affected packages

• Maven org.springframework.ws:spring-ws-security: >= 5.0.0, < 5.0.2 → fixed in 5.0.2 • Maven org.springframework.ws:spring-ws-security: >= 4.1.0, < 4.1.4 → fixed in 4.1.4 • Maven org.springframework.ws:spring-ws-security: >= 4.0.0, <= 4.0.18 (no fix yet) • Maven org.springframework.ws:spring-ws-security: >= 3.1.0, <= 3.1.8 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2026-40997 Several Spring WS integration paths with Spring Security could surface detailed account state (for example locked or disabled user… vulnerability

Weakness · CWE (1)

  • CWE-209 Generation of Error Message Containing Sensitive Information weakness

References