Use of cache containing sensitive information in Spring AI - CVE-2026-59417
Published: November 20, 2026
Vulnerability details
The vulnerability allows a remote attacker to obtain sensitive information from other users’ cached responses and poison the shared cache.
The vulnerability exists due to improper cache isolation in the Spring AI Redis Semantic Cache’s SemanticCacheAdvisor when the advisor serves multiple end users. The cache separates responses by system prompt hash but not by user, session, or tenant. A remote attacker can take advantage of the shared cache to retrieve responses containing another user’s data or cause attacker-controlled content to be served to later users.
Cache entries written through the advisor do not expire.