SOAP security faults leak Spring Security account state
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40997
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 00:06 UTC · Revision 1
Source evidence
SOAP security faults leak Spring Security account state
core-osv · Original sourcePublished 11 Jun 2026, 05:04 UTC
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.
osv:CVE-2026-40997
Complete source record
{
"id": "bd3bf25b24419215872f6b0b8e26247910044dad6150b8863bfb4cfc180bd2ae",
"url": "https://osv.dev/vulnerability/CVE-2026-40997",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SOAP security faults leak Spring Security account state",
"summary": "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.",
"evidence": "osv:CVE-2026-40997",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-40997",
"aliases": [
"CVE-2026-40997",
"GHSA-5x25-c2rf-f2jx"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spring-projects/spring-ws",
"type": "GIT",
"events": [
{
"introduced": "03e870960cc6f5b591bf16d3ad3897f0aa452cc7"
},
{
"last_affected": "bce4cbc3e388d270bca1593970637e2d58076565"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "3.1.0"
},
{
"last_affected": "3.1.8"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v3.1.8",
"v3.1.7",
"v3.1.6",
"v3.1.5",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-40997.json"
}
}
],
"modified": "2026-10-28T02:30:45.121141748Z",
"provider": "osv",
"references": [
"https://spring.io/security/cve-2026-40997",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40997.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-40997"
],
"provider_metadata": {
"cwe_ids": [
"CWE-209"
],
"cna_assigner": "vmware",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.0.1.1"
},
{
"introduced": "4.1.0"
},
{
"fixed": "4.1.3.1"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.0.19"
},
{
"introduced": "3.1.0"
},
{
"fixed": "3.1.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40997.json"
}
},
"related_cves": [
{
"value": "CVE-2026-40997",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513333,
"published_at": "2026-06-11T05:04:08.96+00:00"
}