External risk intelligence

Spring AI Redis Semantic Cache Cross-User Information Disclosure

CVE advisorySeverity: CRITICAL (CVSS 9.1)

CVE-2026-59417

The vulnerability exists in a library designed for integrating AI/LLM capabilities into applications. Applications leveraging AI and semantic caching are commonly deployed as web-facing services, APIs, or interactive chat interfaces. Because these services are frequently exposed to the public internet to facilitate user interaction, the vulnerable cache mechanism is likely to be encountered in internet-facing deployment patterns.

Information Disclosure

Halo Surface Signal: 4 out of 5 — likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

Applications utilizing spring-ai-redis-semantic-cache may expose sensitive user information or malicious content to other users due to a shared cache vulnerability. This could allow unauthorized access to data or the distribution of harmful content.

  • User data and sensitive information can be exposed.
  • Shared AI caches pose a risk to user privacy.
  • Confirm relevance and exposure for shared cache usage.

Attack Path

How an attacker could exploit the issue

Attackers can exploit applications using a shared semantic cache by crafting requests that lead to unauthorized data exposure or manipulation. When multiple users access a system where the semantic cache is not properly isolated per user, an attacker can potentially access sensitive information from other users' interactions or inject malicious content into the cache, which is then served to unsuspecting users. This allows for cross-user information disclosure and cache poisoning, as cached responses are only differentiated by the system prompt's hash, not by user or session.

  • No specific entry condition is needed.
  • Triggered by asking similar questions.
  • Risk of data exposure and poisoning.

Live Threat

Current exploitation, exposure, and threat context

When supported by the advisory, applications using spring-ai-redis-semantic-cache with a shared SemanticCacheAdvisor could expose one user's cached data to another user, or allow an attacker to poison the cache with malicious content. This occurs because cached responses are not isolated by user, session, or tenant, but only by the hash of the system prompt, creating a shared cache pool.

  • User data could be disclosed.
  • Cache is shared across users.
  • Sensitive information may be exposed.

Operational Fix

Recommended remediation, mitigation, and detection steps

Applications utilizing spring-ai-redis-semantic-cache, particularly when the SemanticCacheAdvisor is shared across users, face a critical risk of cross-user data exposure and cache poisoning. The absence of user-specific isolation in the caching mechanism means sensitive information from one user could be disclosed to others, and malicious actors can inject their own content into the cache. The first practical step is to identify all instances of this vulnerable component, confirm their reachability and business criticality, and then assign ownership for remediation planning.

  • Application owners should address this vulnerability.
  • Verify cache reachability and user exposure.
  • Plan remediation based on identified risk.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is spring-ai-redis-semantic-cache?

This component is a library for Spring AI that adds a semantic caching layer using Redis. It helps applications speed up AI responses by storing and reusing results from Large Language Models based on the meaning of user questions, rather than just exact matches.

How does CVE-2026-59417 lead to information disclosure?

The vulnerability is a failure of isolation. The system uses a shared cache pool where responses are only separated by the prompt's hash. Because it lacks user or session-specific keys, an application might serve a cached response containing one user's private data to a completely different user who asks a similar question.

Do I need specific access to trigger this vulnerability?

No complex preconditions are required. The bug is triggered during normal application use whenever multiple users submit similar inquiries. It is not triggered by administrative actions, but rather by the standard flow of the shared caching mechanism failing to distinguish between different users.

Why does Halo Surface Signal consider this high risk?

Halo Surface Signal flags this as likely relevant because this library is typically used in web-facing services, APIs, and AI chat interfaces. These tools are often intentionally exposed to the internet to support user interactions, placing the vulnerable, non-isolated cache in a position where it can be reached and influenced by public traffic.

Is there an immediate step to take if I use this library?

Start by auditing your codebase to locate every instance where SemanticCacheAdvisor is utilized. Once mapped, assess which services are exposed to users and prioritize them for remediation planning to prevent unauthorized data sharing while awaiting official updates.

References