Skip to content

An editorial team and a community building with AI

← All articles

News · Spring AI (VMware/Broadcom) · 2 min read

Event date: · Published:

Spring AI patches critical cross-user data leak in Redis semantic cache

A critical flaw in Spring AI's Redis-backed semantic cache advisor let one user's cached LLM response reach another user and let attackers poison the cache, because entries were separated only by system-prompt hash.

Spring AI, the Java framework for building AI applications maintained by VMware/Broadcom, disclosed a critical vulnerability in its Redis-backed semantic cache advisor on December 2, 2026, when GitHub Security Advisories published details of the flaw, which let one user's cached large language model response be served to a different user and let an attacker poison the shared cache. Spring AI Redis Semantic Cache: Cross-user information disclosure and cache poisoning

What the advisory discloses

  • Tracked as CVE-2026-59417 (GHSA-mqpw-fvvg-55qf), published December 2, 2026 at 09:30:34 UTC
  • Rated Critical, with a CVSS score of 9.1 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N)
  • Affects the spring-ai-redis-semantic-cache Maven package
  • The bug appears when a SemanticCacheAdvisor is shared across multiple end users
  • Cache entries are keyed only by a hash of the system prompt, with no per-user, per-session or per-tenant separation
  • Cache entries were also found to fail to expire appropriately

What it means for people who build with AI

Caching is a common way to cut costs in production large language model applications, but this advisory shows that a shared-cache design can silently leak one customer's AI output to another. In any multi-tenant AI product built on Spring AI, the SemanticCacheAdvisor cache can expose sensitive data from one user's conversation to a different user, and the same lack of isolation lets an attacker plant manipulated responses that are later served to other users.


Sources

Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.

Spring AI patches critical cross-user data leak in Redis semantic cache | vibecoding.inc