Information Exposure Through an Error Message in Spring Web Services - CVE-2026-40997
Published: August 28, 2026
Vulnerability details
The vulnerability allows a remote attacker to disclose sensitive information.
The vulnerability exists due to improper handling of authentication error messages in Spring WS integration paths with Spring Security when processing SOAP authentication requests. A remote attacker can send crafted authentication attempts to disclose sensitive information.
This can expose whether an account is valid and reveal account state details such as locked or disabled status through exception messages or callback outcomes. It affects username-token, digest, or X.509 validation paths where account status exceptions reach the SOAP layer without uniform BadCredentialsException handling.