Skip to main content

LiteLLM EUVDEUVD-2026-38139

| CVE-2026-12773 MEDIUM
Improper Authentication (CWE-287)
2026-06-21 VulDB GHSA-4jcj-7x88-m979
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-exposed LiteLLM MCP proxy endpoint
  2. Delivery
    Send crafted unauthenticated request using public PoC
  3. Exploit
    Bypass UserAPIKeyAuth validation in MCP auth module
  4. Execution
    Gain unauthorized proxy access
  5. Impact
    Issue 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 (litellm/proxy/_experimental/mcp_server/) must be enabled and the proxy endpoint must be reachable over the network from the attacker. The flaw is specifically in the UserAPIKeyAuth function within the MCP authentication path, so only requests routed through the MCP server's auth layer are exploitable - standard LiteLLM proxy endpoints not using this component are not directly affected by this specific flaw. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) states no attack requirements and no privileges needed, meaning no special configuration beyond the MCP server being active and reachable is required. The primary limiting factor is whether the experimental MCP server is deployed: the _experimental path prefix strongly suggests this feature may require explicit activation and is likely not enabled in default LiteLLM installations - defenders should audit their deployment configuration to confirm exposure. No authentication, user interaction, or platform-specific condition is indicated beyond the MCP server being active.

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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

LiteLLM 1.59.1
LiteLLM 1.59.2
LiteLLM 1.59.0
LiteLLM 1.59.7
LiteLLM 1.59.3
LiteLLM 1.59.8
LiteLLM 1.59.5
LiteLLM 1.59.6
LiteLLM 1.59.4

Affected Packages

pypi litellm fix: 1.84.0

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 7.3 HIGH

Network-accessible auth bypass requiring no privileges or interaction; S:U and uniform Low impact reflect constrained MCP proxy access without scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Red Hat 7.3 HIGH

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 21, 2026 - 04:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 13 pypi packages depend on litellm (11 direct, 2 indirect)

Ecosystem-wide dependent count for version 1.84.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2026-42271 HIGH POC
8.7 May 08

Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute

CVE-2026-42208 CRITICAL POC
9.3 May 08

SQL injection in LiteLLM proxy server versions 1.81.16 through 1.83.6 allows unauthenticated remote attackers to read an

CVE-2026-59822 HIGH POC
8.8 Jul 08

Authentication bypass in LiteLLM (BerriAI) proxy/AI Gateway before 1.84.0 lets a remote unauthenticated attacker reach M

CVE-2024-2952 CRITICAL POC
9.8 Apr 10

BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. Rated critical s

CVE-2026-40217 HIGH POC
8.8 Apr 10

Remote code execution in BerriAI LiteLLM (all versions through 2026-04-08) enables authenticated attackers to execute ar

CVE-2024-4888 HIGH POC
8.1 Jun 06

BerriAI's litellm, in its latest version, is vulnerable to arbitrary file deletion due to improper input validation on t

CVE-2026-93355 HIGH POC
7.6 Sep 28

Authentication bypass in the LiteLLM proxy lets any party who already holds a valid JWT issued by the configured externa

CVE-2025-0330 HIGH POC
7.5 Mar 20

In berriai/litellm version v1.52.1, an issue in proxy_server.py causes the leakage of Langfuse API keys when an error oc

CVE-2024-9606 HIGH POC
7.5 Mar 20

In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerabi

CVE-2024-6587 HIGH POC
7.5 Sep 13

A Server-Side Request Forgery (SSRF) vulnerability exists in berriai/litellm version 1.38.10. Rated high severity (CVSS

CVE-2024-5225 HIGH POC
7.2 Jun 06

An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` en

CVE-2024-4889 HIGH POC
7.2 Jun 06

A code injection vulnerability exists in the berriai/litellm application, version 1.34.6, due to the use of unvalidated

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy