CVE-2026-40997

published 11 Jun 2026 · updated 23 Jun 2026

SOAP security faults leak Spring Security account state

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.1.9, 4.0.19, 4.1.3.1 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Spring>=3.1.0 <3.1.9, >=4.0.0 <4.0.19, >=4.1.0 <4.1.3.1, >=5.0.0 <5.0.1.13.1.9, 4.0.19, 4.1.3.1, 5.0.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40997 severity on Zeptric[![CVE-2026-40997](https://zeptric.io/badge/cve/CVE-2026-40997.svg)](https://zeptric.io/cve/CVE-2026-40997)