Skip to content
All posts

LiteLLM CVE-2026-59822 on CISA KEV: Forged MCP Sessions

September 3, 2026 · Team PlayCISO
Put it into practice
MCP Guard
Audit an MCP / agent configuration for plaintext secrets, unpinned installs, shell pipes and over-broad roots.
Open the tool →

The U.S. Cybersecurity and Infrastructure Security Agency added a critical LiteLLM flaw to its Known Exploited Vulnerabilities catalog on 3 September 2026 — meaning it is being exploited in the wild right now. CVE-2026-59822 (CVSS 8.8 — score the vector) lets an unauthenticated attacker forge an authenticated Model Context Protocol session against the popular open-source AI gateway.

What happened

LiteLLM is one of the most widely deployed AI gateways — a single proxy that fronts 100+ model providers (OpenAI, Anthropic, Azure, Bedrock and more) behind one API. CVE-2026-59822 lets an attacker establish an authenticated Model Context Protocol (MCP) session without supplying valid credentials. Its addition to CISA's KEV catalog on September 3 is the signal that matters: CISA only lists vulnerabilities with confirmed active exploitation.

Why the gateway is the target

An AI gateway is, by design, the one place that holds every upstream provider key in an organisation. That concentration is the point of a gateway — and exactly why it is such a prize. Recent campaigns against LiteLLM and RAGFlow instances have followed a consistent playbook: get in, harvest model configuration and upstream provider key material, establish durable access, and deploy XMRig cryptocurrency miners to monetise the compute. When the front door to your models opens without a key, the blast radius is every model, every provider bill, and every dataset those models can reach.

What MCP has to do with it

The Model Context Protocol is the connective tissue of the agentic era — it is how AI agents discover and call tools. An authenticated MCP session is a privileged position: it can enumerate and invoke the tools a gateway exposes. Bypassing authentication to reach that session collapses the trust boundary the whole protocol depends on. It is a concrete example of the risk our MCP Guard and OWASP LLM guidance exist to surface: MCP endpoints are attack surface, and they need the same authentication rigour as any other API.

What to do now

  • Update LiteLLM to the fixed release without delay, and confirm the version actually running in every environment — gateways proliferate quietly across teams.
  • Rotate provider keys that a LiteLLM instance held if it was internet-reachable. Assume the keys were read.
  • Lock down MCP endpoints. Require authentication, restrict network exposure, and inventory which tools each session can reach. Check yours against MCP Guard.
  • Watch the bill. Cryptomining and free-inference abuse show up as spend before they show up in logs — anomalous provider or cloud cost is an early breach signal.
  • Map the surface. Use the AI Footprint Scanner to find exposed gateways and AI services before an attacker does.

Sources

Securing an AI gateway or MCP server? Run MCP Guard on your endpoints, work the OWASP LLM Top 10, and map your exposure with the AI Footprint Scanner.

Frequently asked questions

What did CISA add to the KEV catalog on 3 September 2026?

CISA added CVE-2026-59822 (CVSS 8.8), a flaw that lets an unauthenticated attacker forge an authenticated Model Context Protocol session against the LiteLLM AI gateway. CISA only lists vulnerabilities with confirmed active exploitation.

Why are AI gateways such as LiteLLM a target?

A gateway is the one place that holds every upstream provider key in an organisation. Recent campaigns against LiteLLM and RAGFlow instances harvested model configuration and provider key material, established durable access and deployed XMRig cryptocurrency miners.

Why does the MCP session matter?

An authenticated MCP session is a privileged position that can enumerate and invoke the tools a gateway exposes. Bypassing authentication to reach it collapses the trust boundary the protocol depends on.

What should teams do now?

Update LiteLLM to the fixed release and confirm the version running in every environment, rotate provider keys held by any internet-reachable instance, require authentication and restrict network exposure on MCP endpoints, and watch provider and cloud spend as an early breach signal.

Spotted an error? Report an error. A person reads every message.

Practice with this story’s data

A synthetic file built around this story, for Wireshark, your SIEM or a class. Every address, name and key in it is made up. See the whole sample library

  • PCAPPacket capture (.pcap)

    MCP Server: Tool Calls Trying to Leave the Folder

    An AI agent talks JSON-RPC to an MCP server over HTTP. A search result carries an instruction aimed at the assistant, and the next read_file calls try paths outside the documents folder; the server refuses them.

    What to look for (4)
    • The Mcp-Session-Id header and the method sequence
    • Text in a tool result that addresses the AI assistant
    • Path arguments with ../ or absolute paths
    • The server's error codes and what they prove about its checks

    6.2 KB · 33 packets · SHA-256 e61d168f10e281047dcab9925843f56a4373cc385f996fc023c92af9c7c59876

Take this with you
What happened · Why the gateway is the target · What MCP has to do with it · What to do now · Sources

Ready to practise the decisions these articles describe?

Run your first Cyber War Room free →

Pro

🎉 New here? Use code WELCOME10 for 10% off any plan at checkout