CRITICAL

CVE-2026-59417

Cross-User Information Disclosure and Cache Poisoning in Spring AI Redis Semantic Cache

Description

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 Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.ai » spring-ai-redis-semantic-cache
>= 1.0.0, <= 1.0.10>= 1.1.0, <= 1.1.9>= 2.0.0, < 2.0.3
2.0.3

Blast radius

1affected artifacts
3affected versions
0dependent artifacts (est.)
0dependent versions

Computed from the dependency graph of build 20261129.0021 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.