Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.1

CVE-2026-59417: Spring AI shared cache can expose other users' data

CVE-2026-59417 · published 3 days ago
Summary

If your application uses the spring-ai-redis-semantic-cache with a shared SemanticCacheAdvisor, the cache does not keep data separate for each user. This means one person's response can be sent to another person, and an attacker could place false answers in the cache that later users will see. To protect yourself, configure a separate cache for each user, session, or tenant, or disable the shared advisor until proper isolation is added.

What to do
  • Update spring spring ai to version 2.0.2.1 or later.
Affected software
VendorProductAffected versions
spring spring ai < 2.0.2.1
Original advisory text
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.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker full control (estimated)
Severity
9.1 Critical
Exploitation
<1% chance of attack within 30 days
Timeline
Published2 Dec 2026
Updated3 Dec 2026
First seen2 Dec 2026
Sources
CVE-2026-59417 · MITRE
Track software like this
Free during beta