CVE-2026-40997
SOAP security faults leak Spring Security account state
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.
INFO
Published Date :
June 11, 2026, 7:16 a.m.
Last Modified :
July 23, 2026, 9:10 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
Affected Products
The following products are affected by CVE-2026-40997
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | dcf2e128-44bd-42ed-91e8-88f912c1401d | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Spring WS to a non-vulnerable version.
- Configure Spring Security for generic error handling.
- Disable verbose exception details for SOAP clients.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-40997.
| URL | Resource |
|---|---|
| https://spring.io/security/cve-2026-40997 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-40997 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-40997
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-40997 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-40997 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Jul. 23, 2026
Action Type Old Value New Value Added Translation Title: Spring Web Services, Description: Varios caminos de integración de Spring WS con Spring Security podrían exponer el estado detallado de la cuenta (por ejemplo, semántica de usuario bloqueado o deshabilitado) a clientes SOAP remotos a través de mensajes de excepción o resultados de retrollamada, en lugar de fallar con errores genéricos de autenticación. Ese comportamiento ayuda a los atacantes remotos a distinguir cuentas válidas de inválidas y a inferir el estado del ciclo de vida. Versiones afectadas: Spring Web Services 5.0.0 hasta 5.0.1; 4.1.0 hasta 4.1.3; 4.0.0 hasta 4.0.18; 3.1.0 hasta 3.1.8. -
CVE Modified by [email protected]
Jun. 23, 2026
Action Type Old Value New Value Changed Affected [{'vendor': 'Spring', 'product': 'Spring Web Services', 'versions': [{'status': 'affected', 'version': '5.0.0', 'lessThan': '5.0.2', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.1.0', 'lessThan': '4.1.4', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.19', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.1.0', 'lessThan': '3.1.9', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] [{'vendor': 'Spring', 'product': 'Spring Web Services', 'versions': [{'status': 'affected', 'version': '5.0.0', 'lessThan': '5.0.1.1', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.1.0', 'lessThan': '4.1.3.1', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.19', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.1.0', 'lessThan': '3.1.9', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Spring', 'product': 'Spring Web Services', 'versions': [{'status': 'affected', 'version': '5.0.0', 'lessThan': '5.0.2', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.1.0', 'lessThan': '4.1.4', 'versionType': 'custom'}, {'status': 'affected', 'version': '4.0.0', 'lessThan': '4.0.19', 'versionType': 'custom'}, {'status': 'affected', 'version': '3.1.0', 'lessThan': '3.1.9', 'versionType': 'custom'}], 'defaultStatus': 'unaffected'}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-40997', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-11T12:44:15.490096Z'} -
New CVE Received by [email protected]
Jun. 11, 2026
Action Type Old Value New Value 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-209 Added Reference https://spring.io/security/cve-2026-40997