CVE-2026-59822: LiteLLM: MCP auth bypass via fabricated OAuth header
GHSA-7488-6r32-c95qHIGHACTIVELY EXPLOITEDPoC AVAILABLECISA: ACTLiteLLM's proxy — the AI gateway many teams use to route calls to LLM APIs and MCP tools — had a logic flaw in its MCP Streamable HTTP endpoint: sending a fabricated Authorization header intentionally failed LiteLLM's own key validation, but instead of rejecting the request, that failure fell through to an OAuth2 passthrough path that returned an empty UserAPIKeyAuth() object, granting access to MCP tooling with no valid LiteLLM key at all. There's no CVSS score, no KEV listing, and EPSS sits at just 0.29% (top 80th percentile, i.e. low near-term exploitation likelihood), so this isn't being mass-exploited today — but any org exposing LiteLLM's MCP endpoint to untrusted callers is effectively running an unauthenticated gateway into whatever internal tools, data sources, or actions those MCP servers provide. Blast radius depends entirely on what's wired behind the proxy: internal APIs, file access, or agent actions could all become reachable without credentials. Patch to LiteLLM 1.84.0 now, and in the interim confirm the MCP Streamable HTTP endpoint isn't internet-facing and that OAuth2 passthrough isn't enabled unless strictly required. Audit LiteLLM access logs for MCP requests tied to anomalous or empty API key identities as a compensating detection.
What is the risk?
Exploitability is currently low-effort in theory (no authentication needed, just a crafted Authorization header) but exploitation-in-the-wild signals are absent: no CVSS score has been assigned, EPSS is near-floor (0.29%), it's not in CISA KEV, and no public PoC or Nuclei template exists yet. That said, the vulnerability class — a fail-open fallback in an authentication path — is a classic, high-confidence bug once weaponized, and LiteLLM is widely deployed as an AI gateway in front of production LLM and MCP infrastructure. Real risk is asymmetric: low probability of opportunistic mass exploitation right now, but high potential impact for any organization that has exposed the MCP Streamable HTTP endpoint externally or to semi-trusted networks. Treat this as a 'patch on the next maintenance window, verify exposure today' issue rather than a fire drill.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| LiteLLM | pip | < 1.84.0 | 1.84.0 |
Do you use LiteLLM? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 stepUpgrade LiteLLM to 1.84.0 or later immediately — the fix is a straightforward proxy-server update tracked in GHSA-7488-6r32-c95q and PR #26463. Until patched, audit whether the MCP Streamable HTTP endpoint is reachable from the public internet or untrusted network segments and restrict it (network ACLs, VPN, or reverse-proxy allowlisting) as a compensating control. Review whether OAuth2 passthrough is actually required for your MCP integration; disable it if not in active use. Post-patch, add detection for MCP requests associated with empty or malformed API key identities in LiteLLM's audit logs, and confirm no unauthorized MCP tool invocations occurred during the exposure window by reviewing historical logs back to when MCP support was enabled.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-59822?
LiteLLM's proxy — the AI gateway many teams use to route calls to LLM APIs and MCP tools — had a logic flaw in its MCP Streamable HTTP endpoint: sending a fabricated Authorization header intentionally failed LiteLLM's own key validation, but instead of rejecting the request, that failure fell through to an OAuth2 passthrough path that returned an empty UserAPIKeyAuth() object, granting access to MCP tooling with no valid LiteLLM key at all. There's no CVSS score, no KEV listing, and EPSS sits at just 0.29% (top 80th percentile, i.e. low near-term exploitation likelihood), so this isn't being mass-exploited today — but any org exposing LiteLLM's MCP endpoint to untrusted callers is effectively running an unauthenticated gateway into whatever internal tools, data sources, or actions those MCP servers provide. Blast radius depends entirely on what's wired behind the proxy: internal APIs, file access, or agent actions could all become reachable without credentials. Patch to LiteLLM 1.84.0 now, and in the interim confirm the MCP Streamable HTTP endpoint isn't internet-facing and that OAuth2 passthrough isn't enabled unless strictly required. Audit LiteLLM access logs for MCP requests tied to anomalous or empty API key identities as a compensating detection.
Is CVE-2026-59822 actively exploited?
Yes, CVE-2026-59822 is confirmed actively exploited and listed in CISA Known Exploited Vulnerabilities catalog since Wed Sep 02 2026 00:00:00 GMT+0000 (Coordinated Universal Time).
How to fix CVE-2026-59822?
Upgrade LiteLLM to 1.84.0 or later immediately — the fix is a straightforward proxy-server update tracked in GHSA-7488-6r32-c95q and PR #26463. Until patched, audit whether the MCP Streamable HTTP endpoint is reachable from the public internet or untrusted network segments and restrict it (network ACLs, VPN, or reverse-proxy allowlisting) as a compensating control. Review whether OAuth2 passthrough is actually required for your MCP integration; disable it if not in active use. Post-patch, add detection for MCP requests associated with empty or malformed API key identities in LiteLLM's audit logs, and confirm no unauthorized MCP tool invocations occurred during the exposure window by reviewing historical logs back to when MCP support was enabled.
What systems are affected by CVE-2026-59822?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, AI gateways / LLM proxies, MCP tool integrations.
What is the CVSS score for CVE-2026-59822?
CVE-2026-59822 has a CVSS v3.1 base score of 8.2 (HIGH). The EPSS exploitation probability is 0.84%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049Exploit Public-Facing ApplicationAML.T0053AI Agent Tool InvocationAML.T0086Exfiltration via AI Agent Tool InvocationCompliance Controls Affected
What are the technical details?
Original Advisory
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Authorization header to trigger an OAuth2 passthrough fallback path that replaced failed LiteLLM key validation with an empty UserAPIKeyAuth() object, allowing requests to reach MCP tooling without a valid LiteLLM key. This issue is fixed in version 1.84.0.
Exploitation Scenario
An unauthenticated attacker identifies a LiteLLM proxy instance with the MCP Streamable HTTP endpoint exposed (e.g., via network scanning or discovery of the org's AI infrastructure). They send a request with a deliberately malformed or fabricated Authorization header — one crafted specifically to fail LiteLLM's native key validation. Instead of a clean rejection, the failure triggers the OAuth2 passthrough fallback path, which constructs an empty UserAPIKeyAuth() object and treats the request as authorized. The attacker now invokes whatever MCP tools are connected to that LiteLLM instance — potentially reading internal data, calling internal APIs, or triggering downstream actions — without ever presenting a valid LiteLLM key or credential.
Weaknesses (CWE)
CWE-287Improper AuthenticationPrimaryCWE-287Improper AuthenticationPrimaryCWE-306Missing Authentication for Critical FunctionPrimaryCWE-287Improper AuthenticationCWE-306Missing Authentication for Critical FunctionCWE-287 — Improper Authentication: When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.
- [Architecture and Design] Use an authentication framework or library such as the OWASP ESAPI Authentication feature.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NReferences
- github.com/advisories/GHSA-7488-6r32-c95q
- nvd.nist.gov/vuln/detail/CVE-2026-59822
- github.com/BerriAI/litellm/commit/73869f0faf7d11ee21adcb5f91b8c33a340b6c2c
- github.com/BerriAI/litellm/pull/26463
- github.com/BerriAI/litellm/releases/tag/v1.84.0
- github.com/BerriAI/litellm/security/advisories/GHSA-7488-6r32-c95q
Timeline
Related Vulnerabilities
CVE-2026-1146129.9LiteLLM: forged admin token enables RCE via MCP stdio
Same package: litellmCVE-2026-370049.8LiteLLM: unauth SSTI in /prompts/test enables RCE
Same package: litellmCVE-2026-422089.8LiteLLM: SQL injection exposes LLM API credentials
Same package: litellmCVE-2026-306239.8LiteLLM: RCE via unsanitized MCP server config
Same package: litellmCVE-2026-543529.6Budibase: zip symlink bypass exposes all server secrets
Same package: litellm