Use of cache containing sensitive information in Spring AI - CVE-2026-59417

 

Use of cache containing sensitive information in Spring AI - CVE-2026-59417

Published: November 20, 2026


Vulnerability identifier: #VU168640
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-59417
CWE-ID: CWE-524
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to obtain sensitive information from other users’ cached responses and poison the shared cache.

The vulnerability exists due to improper cache isolation in the Spring AI Redis Semantic Cache’s SemanticCacheAdvisor when the advisor serves multiple end users. The cache separates responses by system prompt hash but not by user, session, or tenant. A remote attacker can take advantage of the shared cache to retrieve responses containing another user’s data or cause attacker-controlled content to be served to later users.

Cache entries written through the advisor do not expire.


Affected software

Spring AI

How to mitigate CVE-2026-59417

Install security update from vendor's website.

Spring AI - addressed in versions 1.0.11, 1.1.10, 2.0.2.1, 2.0.3

External References

Related Security Bulletins