Advisory

CVE-2026-59822: BerriAI LiteLLM Improper Authentication Flaw (CVSS 8.2 HIGH) — Patch Now

A critical authentication bypass in BerriAI LiteLLM's MCP Streamable HTTP endpoint allows unauthenticated attackers to reach MCP tooling with no valid API key, simply by supplying a fabricated Authorization header. The flaw is listed in the CISA Known Exploited Vulnerabilities catalog and carries a CVSS 3.1 score of 8.2 (HIGH).

TL;DR: Upgrade LiteLLM to version 1.84.0 or later immediately; organizations subject to CISA BOD 26-04 must comply with its prioritized patching timeline, and those unable to apply mitigations should discontinue use of the product.

What Is the Vulnerability?

CVE-2026-59822 is an improper authentication vulnerability (classified under CWE-287 and CWE-306) affecting the MCP (Model Context Protocol) Streamable HTTP endpoint in BerriAI LiteLLM, an open-source AI Gateway proxy server used to route requests to large language model (LLM) APIs.

The root cause is a flawed fallback in LiteLLM's key-validation logic. When an attacker supplies a deliberately crafted — but invalid — Authorization header, the proxy misinterprets the request as an OAuth2 passthrough attempt. Because the LiteLLM key validation step fails, the code falls back to creating an empty UserAPIKeyAuth() object, effectively granting the request an authenticated context. The result: the MCP tooling layer is reached with no legitimate LiteLLM key ever being checked.

CISA summarises the exploitable outcome as an attacker being able to "establish an authenticated MCP session using an arbitrary Bearer token."

  • CVSS 3.1 Score: 8.2 — HIGH
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Attack Vector: Network — no local access required
  • Complexity: Low — no special conditions needed
  • Privileges Required: None
  • User Interaction: None
  • Confidentiality Impact: High | Integrity Impact: Low | Availability Impact: None
  • Weaknesses: CWE-287 (Improper Authentication), CWE-306 (Missing Authentication for Critical Function)

Who and What Is Affected?

Any deployment of BerriAI LiteLLM prior to version 1.84.0 that exposes the MCP Streamable HTTP endpoint to untrusted networks is vulnerable. This includes self-hosted instances, containerised deployments, and cloud-hosted configurations where the LiteLLM proxy is reachable from the internet or from an untrusted internal network segment.

LiteLLM is widely used by organisations integrating multiple LLM providers (such as OpenAI, Anthropic, Azure OpenAI, and others) through a single proxy layer. Because the bypass requires only a fabricated HTTP header and no prior credentials, internet-exposed instances are at the highest risk.

  • Vulnerable product: BerriAI LiteLLM < 1.84.0
  • Fixed in: LiteLLM 1.84.0
  • Affected component: MCP Streamable HTTP endpoint
  • Exposure amplifier: Any instance accessible over a network without a firewall or authentication layer in front of the MCP endpoint

Organisations subject to CISA BOD 26-04 (Prioritizing Security Updates Based on Risk) have specific mandatory patching obligations for this CVE given its inclusion in the KEV catalog.

Potential Impact

The CVSS confidentiality impact is rated High. Successfully exploiting this flaw allows an unauthenticated attacker to interact with MCP tooling as though they hold a valid LiteLLM API key. Depending on what tools and integrations are exposed through the MCP layer, this could lead to:

  • Unauthorised access to LLM-backed tools and data sources connected via MCP, potentially including sensitive business data, documents, or retrieval-augmented generation (RAG) stores.
  • Abuse of LLM API quota and spend associated with the LiteLLM deployment, since requests pass through as authenticated.
  • Integrity risks (CVSS integrity impact: Low) where an attacker could invoke MCP tools that write, modify, or trigger actions in connected systems.
  • Lateral movement opportunities if MCP tools have privileged access to downstream services within the organisation's infrastructure.

Because the attack requires no prior privileges, no user interaction, and low complexity, the barrier to exploitation is very low for any attacker who can reach the endpoint. This CVE's presence in the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2026-09-02) indicates that exploitation in real-world environments has been confirmed.

What To Do Right Now

The vendor has released a fix. The following actions should be taken as a priority:

  1. Upgrade LiteLLM to version 1.84.0 or later. This is the definitive remediation confirmed by BerriAI. Consult the BerriAI LiteLLM repository and official vendor release notes for upgrade instructions.
  2. Identify all running instances. Audit your environment for any deployed LiteLLM proxy versions prior to 1.84.0, including containerised, cloud-hosted, and on-premises instances.
  3. Restrict network access to the MCP endpoint. As a defence-in-depth measure, limit inbound access to the MCP Streamable HTTP endpoint to known and trusted IP ranges using firewall rules, network policies, or API gateway controls. Do not rely on this as a substitute for patching.
  4. Review MCP tool integrations. Assess what tools, data sources, and downstream systems are reachable via the MCP layer, and evaluate what an unauthenticated session could have accessed or invoked.
  5. Inspect logs for anomalous requests. Look for requests to the MCP Streamable HTTP endpoint carrying unusual or arbitrary Bearer tokens, particularly before the patch was applied, to assess whether exploitation may have occurred.
  6. CISA BOD 26-04 compliance. Federal agencies and organisations subject to BOD 26-04 must apply mitigations in accordance with CISA's prioritization guidance. If mitigations cannot be applied, CISA's required action states the product should be discontinued. Review the CISA KEV catalog entry for the latest required action details.

How External Testing Can Surface This Exposure

For organisations that use external security testing as part of their security programme, CVE-2026-59822 is a good example of a vulnerability class that point-in-time external assessments can detect:

  • Service discovery: An external scan can identify whether a LiteLLM proxy's MCP Streamable HTTP endpoint is reachable from the internet, flagging unnecessary exposure before or after patching.
  • Version fingerprinting: Where version information is exposed in HTTP response headers, error messages, or known endpoint patterns, scanners can identify instances running versions prior to 1.84.0.
  • Authentication probe testing: Security assessments can test whether the MCP endpoint responds differently to requests carrying fabricated versus legitimate Authorization headers, confirming whether the bypass path is present without conducting a full exploit.
  • Attack surface reduction review: External testing helps validate whether network controls such as IP allowlisting or gateway-level authentication are effective as interim controls while patching is in progress.

Because the attack vector is network-based with no authentication required, this vulnerability is particularly well-suited to detection through external, unauthenticated security assessments of internet-facing assets.

Sources & further reading: NVD CVE-2026-59822 and the CISA KEV catalog are the authority on affected and fixed versions. Vendor/independent analysis: github.com, github.com, github.com, github.com. This advisory contains no exploit code.

Frequently asked questions

Is CVE-2026-59822 being actively exploited?

Yes. CVE-2026-59822 was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-09-02, which indicates that exploitation in real-world environments has been confirmed. Organisations should treat this with urgency and prioritise upgrading to LiteLLM 1.84.0 or later.

Do I need to expose the MCP endpoint to be vulnerable?

An attacker must be able to reach the MCP Streamable HTTP endpoint over the network to exploit this flaw. Instances that are fully isolated from untrusted networks face a lower immediate risk, but the definitive fix is still to upgrade to version 1.84.0, since network controls alone are not a reliable long-term mitigation.

What versions of LiteLLM are fixed?

According to the NVD advisory and BerriAI's own disclosure, the vulnerability is fixed in LiteLLM version 1.84.0. All versions prior to 1.84.0 should be considered vulnerable. Upgrade to 1.84.0 or any later release.

What should I do if I cannot patch immediately?

If immediate patching is not possible, CISA's required action under BOD 26-04 states that if mitigations are unavailable, organisations should discontinue use of the product. As a temporary compensating control, restrict network access to the MCP endpoint to only trusted and known IP addresses. Document the risk and establish a firm patching timeline, as network controls do not eliminate the underlying vulnerability.