CVE-2026-40997 Details
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.
A vulnerability exists in Spring Web Services (WS) versions 5.0.0 through 5.0.1, 4.1.0 through 4.1.3, 4.0.0 through 4.0.18, and 3.1.0 through 3.1.8. This vulnerability allows remote SOAP clients to receive detailed account status information, such as whether a user account is locked or disabled, through exception messages or callback outcomes. This behavior can lead to user enumeration and information disclosure, as it enables attackers to differentiate between valid and invalid accounts and infer their lifecycle states. The issue arises when certain callback handlers or helpers are used with username-token, digest, or X.509 validation paths, allowing account status exceptions to be improperly handled and propagated to the SOAP layer.
Users of affected versions should upgrade to the fixed version. For Spring Web Services 5.0.x, upgrade to 5.0.2 or 5.0.1.1 (Enterprise Support Only). For 4.1.x, upgrade to 4.1.4 or 4.1.3.1 (Enterprise Support Only). For 4.0.x, upgrade to 4.0.19 (Enterprise Support Only). For 3.1.x, upgrade to 3.1.9 (Enterprise Support Only).
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 11, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://spring.io/security/cve-2026-40997 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| broadcom spring web services | < 3.1.9 >= 4.0.0, < 4.0.19 >= 4.1.0, < 4.1.3.1 >= 5.0.0, < 5.0.1.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | Initial Analysis | [email protected] |
| Jul 23, 2026 | CVE Translated | [email protected] |
| Jun 23, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 11, 2026 | New CVE Received | [email protected] |