Intel

AIKIDO-2026-691427

spring-ws-security is vulnerable to Observable Discrepancy

CVE-2026-40997Published Jun 15, 2026
June 15, 2026

50

CVE Score

Medium

Observable Discrepancy

Are you affected? Scan for Free

TL;DR

Spring Web Services Security may disclose account status information through SOAP authentication responses. In certain Spring Security integration paths, detailed authentication errors such as locked or disabled account states can be exposed to remote clients instead of generic authentication failures. An attacker can leverage these differences to enumerate valid user accounts and infer account status information, aiding further attacks.

How do I fix this?

Upgrade the org.springframework.ws:spring-ws-security library to a patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

0.0.1 - 4.1.3

Fixed in 4.1.4

5.0.0 - 5.0.1

Fixed in 5.0.2

Background info

spring-ws-security is vulnerable to Observable Discrepancy in versions 0.0.1 - 4.1.3 and 5.0.0 - 5.0.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea