CVE-2026-40997

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.

Affected Software

VendorProductVersion RangeStatus
SpringSpring Web Services5.0.0 < 5.0.1.1affected
SpringSpring Web Services4.1.0 < 4.1.3.1affected
SpringSpring Web Services4.0.0 < 4.0.19affected
SpringSpring Web Services3.1.0 < 3.1.9affected

Weaknesses

  • CWE-209: CWE-209: Generation of Error Message Containing Sensitive Information

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

References