CVE-2026-40997

SOAP security faults leak Spring Security account state

Published Jun 11, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A flaw in several Spring Web Services integration paths with Spring Security can expose detailed account state, such as locked or disabled status, to remote SOAP clients via exception messages or callback results instead of generic authentication errors. This behavior, identified as CWE-209, allows an attacker to confirm whether a particular username exists and infer its lifecycle state, enabling targeted social engineering or credential-based attacks.

Affected Systems

Spring Web Services versions 5.0.0 to 5.0.1, 4.1.0 to 4.1.3, 4.0.0 to 4.0.18, and 3.1.0 to 3.1.8 are impacted.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.3 and has no available EPSS score or KEV listing. Exploitation requires a remote SOAP client to trigger authentication logic that surfaces detailed faults, which is plausible for any reachable SOAP endpoint. The attack vector is inferred to be remote over SOAP, and the risk is moderate due to the lack of a zero‑day exploit but a clear pathway for account enumeration and potential escalation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Spring Web Services to 5.0.2 or newer, or to the latest patch released by the vendor.
  • If an upgrade is not immediately possible, configure the application to disable detailed fault messages and enforce generic authentication error responses. This can be achieved by setting the appropriate Spring Security configuration to suppress exception details in SOAP responses.
  • Review and secure all SOAP service endpoints to limit exposure, ensuring only authenticated and authorized users can access them, and monitor for suspicious authentication attempts.

Generated by OpenCVE AI on June 11, 2026 at 07:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5x25-c2rf-f2jx Spring Web Services: SOAP security faults leak Spring Security account state
References
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Web Services
CPEs cpe:2.3:a:broadcom:spring_web_services:*:*:*:*:*:*:*:*
Vendors & Products Broadcom
Broadcom spring Web Services
Type Values Removed Values Added
First Time appeared Spring
Spring spring Web Services
Vendors & Products Spring
Spring spring Web Services
Type Values Removed Values Added
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.
Title SOAP security faults leak Spring Security account state
Weaknesses CWE-209
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 23, 2026, 7:50 PM
Reserved
Apr 16, 2026, 2:19 AM
Status
Analyzed
Published
Jun 11, 2026, 7:16 AM
Modified
Sep 4, 2026, 5:01 PM