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.
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 step-
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 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?
No confirmed active exploitation of CVE-2026-59822 has been reported, but organizations should still patch proactively.
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.52%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0086 Exfiltration via AI Agent Tool Invocation Compliance 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-287 Improper Authentication
Primary
CWE-287 Improper Authentication
Primary
CWE-306 Missing Authentication for Critical Function
Primary
CWE-287 Improper Authentication CWE-306 Missing Authentication for Critical Function CWE-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:N References
- 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-42208 9.8 LiteLLM: SQL injection exposes LLM API credentials
Same package: litellm CVE-2026-30623 9.8 LiteLLM: RCE via unsanitized MCP server config
Same package: litellm CVE-2026-54352 9.6 Budibase: zip symlink bypass exposes all server secrets
Same package: litellm CVE-2026-35030 9.1 LiteLLM: auth bypass via JWT cache key collision
Same package: litellm CVE-2026-35029 8.8 LiteLLM: auth bypass allows RCE and full takeover
Same package: litellm