Skip to main content

Generation of Error Message Containing Sensitive Information

CVE-2026-40997

Severity Medium
Score 5.3/10

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. This issue affects Spring Web Services versions from 3.1.0 through 3.1.8, 4.0.0 through 4.0.18, 4.1.0 through 4.1.3 and 5.0.0 through 5.0.1.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • LOW
  • NONE

CWE-209 - Generation of Error Message Containing Sensitive Information

The software generates an error message that includes sensitive information about its environment, users, or associated data.

Advisory Timeline

  • Published