Vulnerability  ·  2026-12-03

Spring AI redis semantic cache — cross-user information disclosure and cache poisoning (CVSS 9.1)

VulnerabilityHigh impactGlobalCVE-2026-59417
Published 2026-12-02, CVSS 9.1 (residual isolation gap relative to CVE-2026-59308). Cached responses were isolated only by the hash of the system prompt, so all users share a single cache pool. Entries can be poisoned and do not expire on write-through.
Semantic caching is a common RAG/chatbot optimisation. For any multi-tenant or multi-user deployment this turns the cache into a cross-tenant leak of private assistant answers and lets an attacker poison answers served to other users — a direct confidentiality and integrity break inside a widely-deployed LLM framework.
Cached responses are keyed only by a hash of the system prompt (no user/session/tenant dimension). A cached response containing one user's data is served to any other user asking a similar question, and an attacker can prime a cache entry that later users receive.
Spring AI spring-ai-redis-semantic-cache — affected versions 1.0.0–1.0.11, 1.1.0–1.1.10, 2.0.0–2.0.3 (OSS)
Upgrade to the fixed Spring AI release for your line (2.0.2.1 / 2.0.3, etc.) per spring.io/security/cve-2026-59417; add a user/session/tenant cache-key dimension.
Spring Security advisory CVE-2026-59417NVD record CVE-2026-59417
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →