---
id: CVE-2026-40997
title: >-
  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…
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…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-209
vendor: broadcom
product: spring_web_services
affected:
  - spring_web_services < 3.1.9
  - 'spring_web_services >= 4.0.0, < 4.0.19'
  - 'spring_web_services >= 4.1.0, < 4.1.3.1'
  - 'spring_web_services >= 5.0.0, < 5.0.1.1'
patched:
  - spring_web_services 5.0.1.1
published: '2026-06-11'
updated: '2026-09-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-40997'
references:
  - url: 'https://spring.io/security/cve-2026-40997'
    label: security@vmware.com
tags:
  - nvd
epss: 0.00366
epssPercentile: 0.30419
ingestedAt: '2026-09-05T13:39:55.428Z'
---

## Overview

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

- `spring_web_services < 3.1.9`
- `spring_web_services >= 4.0.0, < 4.0.19`
- `spring_web_services >= 4.1.0, < 4.1.3.1`
- `spring_web_services >= 5.0.0, < 5.0.1.1`

## Remediation

Upgrade past the affected range:

- `spring_web_services 5.0.1.1`
