# Breaking the Semantic Cache: A LiteLLM Case Study (CVE-2026-89032)

DevFeed: [Breaking the Semantic Cache: A LiteLLM Case Study (CVE-2026-89032)](<https://devfeed.tech/articles/breaking-the-semantic-cache-a-litellm-case-study-cve-2026-89032-130461.md>)

Original publisher: [Read original article](<https://blog.nviso.eu/2026/11/12/breaking-the-semantic-cache-a-litellm-case-study-cve-2026-89032/>)

Author: Tanguy Snoeck

Published: 2026-11-12T12:16:18Z

Content type: article

Language: en

Sources: [Cyber Newsroom](<https://devfeed.tech/sources/cyber-newsroom.md>)

Topics: [litellm](<https://devfeed.tech/topics/litellm.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [agent](<https://devfeed.tech/tags/agent.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [ai-infrastructure](<https://devfeed.tech/tags/ai-infrastructure.md>), [api-key](<https://devfeed.tech/tags/api-key.md>), [api-keys](<https://devfeed.tech/tags/api-keys.md>), [application-security](<https://devfeed.tech/tags/application-security.md>), [appsec](<https://devfeed.tech/tags/appsec.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [attack](<https://devfeed.tech/tags/attack.md>), [bank](<https://devfeed.tech/tags/bank.md>), [bash](<https://devfeed.tech/tags/bash.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cve](<https://devfeed.tech/tags/cve.md>), [litellm](<https://devfeed.tech/tags/litellm.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [semantic-cache-poisoning](<https://devfeed.tech/tags/semantic-cache-poisoning.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [web](<https://devfeed.tech/tags/web.md>)

## AI overview

Semantic caches can leak data or spread attacker-controlled outputs when semantically similar requests share cache entries. The article explains that a low similarity threshold increases hits but can match questions that should be treated differently. It reports CVE-2026-89032 as breaking LiteLLM's API-key cache isolation; the demonstrated attacks on vulnerable v1.99.0 retrieve a victim's PII, spread a fabricated answer, or replay a poisoned tool call. The examples use threshold 0.2 for simplicity, while the article says typical deployments use higher values, making attacks harder. It identifies LiteLLM v1.101.0-rc.1 as containing a patch and recommends avoiding semantic caching where feasible; otherwise isolate cache buckets per user, tune the threshold, filter sensitive responses, and never cache tool calls. The coding-agent example depends on specific routes and pi v0.45.3; the article says other agents are not necessarily affected.

## Source excerpt

Breaking the Semantic Cache: A LiteLLM Case Study (CVE-2026-89032) Introduction Issues related to web cache misconfiguration have been a prolific ground for vulnerabilities for the last decade and generated entire new attack classes as a result. Historically, web cac ... Read more Published Date: Nov 12, 2026 (3 hours, 3 minutes ago) Vulnerabilities has been mentioned in this article. CVE-2026-89032