CVE-2026-59417: Cross-User Information Disclosure and Cache Poisoning in Spring AI Redis Semantic Cache
Applications using spring-ai-redis-semantic-cache with a SemanticCacheAdvisor shared by more than one end user are vulnerable to cross-user information disclosure and cache poisoning. Cached responses were isolated only by the hash of the system prompt, with no user, session, or tenant dimension, so all users shared a single cache pool.
A cached response that contains one user's data can be served to any other user who asks a similar question. An attacker can also prime a cache entry with attacker-controlled content, which is then served to later users. Cached entries do not expire when written through the advisor.
This issue is a residual isolation gap related to CVE-2026-59308, which addressed only isolation by system prompt.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to cross-user disclosure or cache poisoning?
Applications using spring-ai-redis-semantic-cache with a SemanticCacheAdvisor shared by more than one end user are affected. The cache does not include a user, session, or tenant dimension, so users sharing the advisor share one cache pool.
What does an attacker need to do to exploit this issue?
An attacker can submit a similar question to create a cached response containing attacker-controlled content, then later users may receive that response. No privileges or user interaction are required according to the supplied CVSS vector.
Are cached responses automatically removed after a period of time?
No. Entries written through the advisor do not expire, so a disclosure-prone or attacker-primed response can remain available in the cache.
How can teams identify whether their application is affected?
Review whether the application uses spring-ai-redis-semantic-cache and configures a SemanticCacheAdvisor for multiple users, sessions, or tenants. If so, cached answers are isolated only by the system-prompt hash rather than by the requesting user or tenant.