Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed LiteLLM MCP proxy endpoint
-
DeliverySend crafted unauthenticated request using public PoC
-
ExploitBypass UserAPIKeyAuth validation in MCP auth module
-
ExecutionGain unauthorized proxy access
-
ImpactIssue LLM API calls or extract backend provider credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The experimental MCP server component ( |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N) positions this as a network-exploitable, unauthenticated, low-complexity flaw requiring no user interaction and no attack prerequisites - the most dangerous combination from an accessibility standpoint. However, impact is rated Low across all three dimensions (confidentiality, integrity, availability), capping the base score at 5.5. The E:P supplemental metric confirms the PoC availability. No CISA KEV listing is present, indicating no confirmed widespread active exploitation at time of analysis. The practical risk is amplified beyond the moderate CVSS score for organizations using LiteLLM as a gateway to commercial LLM providers: a successful bypass could expose backend provider API keys, enable unauthorized LLM usage billed to the victim, or allow manipulation of model routing. The experimental nature of the MCP server component is a critical unknown - if it requires explicit enablement, real-world exposure may be significantly lower than PR:N/AT:N implies. Defenders should treat the CVSS vector as a worst-case for exposed instances until default configuration is confirmed. |
| Exploit ScenarioDerived | An attacker identifies a LiteLLM instance with the experimental MCP Proxy server enabled and network-accessible, then uses the publicly available proof-of-concept exploit (GitHub gist by YLChen-007) to send a crafted request that bypasses the UserAPIKeyAuth validation function without supplying valid credentials. Upon successful bypass, the attacker gains proxy-level access and can issue LLM API calls billed to the victim's configured provider accounts, enumerate or extract backend API keys stored in the LiteLLM configuration, or manipulate model routing to exfiltrate sensitive prompt data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Authentication bypass in BerriAI LiteLLM versions 1.59.0 through 1.59.8 allows unauthenticated remote attackers to circumvent the UserAPIKeyAuth function within the experimental MCP Proxy server component, gaining unauthorized access to protected LLM proxy functionality without valid credentials. A public proof-of-concept exploit is confirmed available via GitHub gist (YLChen-007), materially lowering the bar for exploitation. No CISA KEV listing is present at time of analysis, but the network-accessible, zero-authentication attack surface combined with an available PoC warrants urgent remediation prioritization for any deployment with the MCP server component exposed.
RemediationAI
No vendor-released patch version has been independently confirmed from the available references at time of analysis; fix status should be verified directly against the BerriAI LiteLLM upstream repository and the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-12773. As an immediate compensating control, determine whether the experimental MCP server is active in your deployment by checking for the presence and activation of litellm/proxy/_experimental/mcp_server/ - if this feature is not in active use, disabling it eliminates the attack surface with minimal operational impact given its experimental status. If the MCP server must remain enabled, restrict network access to the LiteLLM proxy port using host-based or network firewall rules, limiting inbound connections to known trusted client IPs only; this introduces operational friction for dynamic client environments. Additionally, deploy authentication enforcement at the reverse proxy or load balancer layer (e.g., requiring a valid bearer token before traffic reaches LiteLLM) as a defense-in-depth measure. Rotate any backend LLM provider API keys configured in LiteLLM if the MCP endpoint was exposed to untrusted networks.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LiteLLM (by BerriAI, CPE: cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*) is an open-source AI proxy and gateway that provides unified API access to multiple large language model providers. The vulnerability resides in an experimental extension: the MCP (Model Context Protocol) Proxy server, located under the _experimental path at litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py. The specific function UserAPIKeyAuth is responsible for authenticating inbound requests using API keys before permitting access to the proxy. CWE-287 (Improper Authentication) indicates the root cause is a failure to correctly verify the identity or credentials of the caller - likely a logic flaw, missing validation step, or bypassable check within the key authentication routine. Because this component is in an experimental subdirectory, it may receive less rigorous security review than the core proxy codebase, and its enablement status in default configurations is not confirmed by the available references.
Know when Litellm gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-accessible auth bypass requiring no privileges or interaction; S:U and uniform Low impact reflect constrained MCP proxy access without scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in BerriAI litellm up to 1.59.8. Affected is the function UserAPIKeyAuth of the file litellm/proxy/_experimental/mcp_server/auth/user_api_key_auth_mcp.py of the component MCP Proxy. Executing a manipulation can lead to improper authentication. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure.
Blast Radius
ecosystem impact- 13 pypi packages depend on litellm (11 direct, 2 indirect)
Ecosystem-wide dependent count for version 1.84.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an
Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s
Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar
BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t
Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa
In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi
A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS
An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en
A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated
EUVD-2026-38139
GHSA-4jcj-7x88-m979
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB