Skip to main content

LiteLLM EUVDEUVD-2026-38137

| CVE-2026-12771 LOW
Improper Authorization (CWE-285)
2026-06-21 VulDB GHSA-qmf3-4767-5fg3
1.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege LiteLLM credentials
  2. Delivery
    Craft manipulated M2M JWT token
  3. Exploit
    Submit token to proxy auth endpoint
  4. Execution
    Bypass authorization check in user_api_key_auth.py
  5. Impact
    Issue unauthorized LLM API calls beyond permitted scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the LiteLLM proxy instance is configured to use the M2M JWT Handler for machine-to-machine authentication, as the vulnerable code path is specific to litellm/proxy/auth/user_api_key_auth.py and its JWT processing logic. The CVSS PR:L metric confirms that the attacker must possess low-level credentials or an existing authenticated session before exploitation - unauthenticated attacks are not supported by the available vector. The AC:H metric further constrains exploitation, indicating that specific, non-default conditions or precise manipulation of JWT structure is required; the VulDB description characterizes exploitability as 'difficult.' Exploitation is limited to instances where M2M JWT authentication is actively enabled and reachable over the network; deployments that do not use JWT-based service authentication or that isolate the LiteLLM proxy behind internal network boundaries face substantially reduced risk. There is no requirement for user interaction (UI:N), and the attack is network-reachable (AV:N), but the combination of required low privileges and high complexity narrows the realistic attacker population.

Impact

The CVSS 4.0 score of 1.3 is very low, driven primarily by AC:H (high attack complexity), PR:L (low privileges required), and uniformly low vulnerable-system impact scores (VC:L/VI:L/VA:L). The E:P supplemental metric confirms a proof-of-concept is available, which ordinarily elevates operational concern, but the high complexity floor substantially constrains opportunistic exploitation. No CISA KEV listing exists, meaning no confirmed widespread active exploitation. The CVSS 4.0 vector indicates no scope change into subsequent systems (SC:N/SI:N/SA:N), bounding the blast radius to the LiteLLM proxy instance itself. From an SSVC perspective: exploitation status is 'PoC' (not active), the attack is not trivially automatable due to AC:H, and technical impact is partial. The real-world risk is therefore low-to-moderate for deployments where the M2M JWT flow is actively used, and low for environments that do not use machine-to-machine JWT authentication. EPSS data is not present in the provided intelligence; that signal is missing and cannot be used to refine the probability estimate. CVSS 4.0 and CVSS 3.1 alignment is consistent on network vector and low privileges, so no scoring conflict is identified.

Exploit ScenarioDerived

An attacker with low-level authenticated access to a LiteLLM proxy deployment - for example, a service account credential obtained through credential theft or an insider - crafts a manipulated M2M JWT token that exploits the improper authorization logic in user_api_key_auth.py. Due to the flaw in the JWT handler's authorization decision, the proxy accepts the token as granting elevated or unauthorized permissions, allowing the attacker to issue API calls to proxied LLM backends beyond their intended access scope. A public proof-of-concept on GitHub (https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d) demonstrates this technique, though the AC:H rating indicates reproduction requires non-trivial conditions.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 22, 2026

Improper authorization in LiteLLM's M2M JWT Handler (litellm/proxy/auth/user_api_key_auth.py) enables remote attackers holding low-level credentials to bypass authorization controls in versions 1.82.0 through 1.82.2. The flaw resides in the machine-to-machine JWT authentication pathway of the LiteLLM proxy layer, where manipulated JWT inputs cause the handler to make incorrect authorization decisions, potentially granting unauthorized access to proxied LLM API resources. No active exploitation has been confirmed by CISA KEV, though publicly available exploit code exists (GitHub gist by YLChen-007), and the CVSS 4.0 vector carries an E:P temporal modifier reflecting this proof-of-concept availability; overall risk is tempered by high attack complexity.

RemediationAI

No vendor-released patch with a confirmed fix version has been identified in the available intelligence at time of analysis. The EUVD and NVD advisories reference only affected versions (1.82.0-1.82.2) without naming a remediated release. Operators should monitor the BerriAI LiteLLM repository and the VulDB advisory (https://vuldb.com/vuln/372513) for an upstream fix. As a compensating control, deployments should disable or restrict the M2M JWT authentication pathway in the LiteLLM proxy configuration if it is not operationally required - removing the vulnerable code path eliminates the attack surface entirely, with the trade-off of losing service-to-service JWT-based access. Where M2M JWT must remain active, network-layer controls such as restricting access to the LiteLLM proxy endpoint to known internal service IP ranges will reduce exposure, though this does not eliminate the flaw for insider or compromised-service scenarios. Additionally, auditing proxy access logs for anomalous JWT-authenticated requests may provide early detection of exploitation attempts. The public proof-of-concept at https://gist.github.com/YLChen-007/70e4e106527f74ddf17953ff0f6c248d should be reviewed to understand exact triggering conditions and inform targeted detection rules.

Affected VersionsENISA

LiteLLM 1.82.2
LiteLLM 1.82.1
LiteLLM 1.82.0

Affected Packages

pypi litellm no fix

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 is an open-source LLM proxy framework (BerriAI) that unifies calls to multiple large language model providers behind a single API gateway. The vulnerable component is the proxy authentication middleware in litellm/proxy/auth/user_api_key_auth.py, specifically the machine-to-machine (M2M) JWT Handler - a code path designed to authenticate non-human service-to-service callers using JSON Web Tokens. CWE-285 (Improper Authorization) identifies the root cause: the handler fails to correctly enforce authorization decisions after or during JWT validation, meaning that a crafted or manipulated token may be accepted as legitimate even when it should be rejected or granted a lesser permission scope. The CPE cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:* covers all LiteLLM application versions reported by EUVD as 1.82.0, 1.82.1, and 1.82.2. This is distinct from a JWT signature bypass; the flaw is in the authorization logic applied after token parsing, consistent with the 'Authentication Bypass' tag.

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 1.3 LOW
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 4.2 MEDIUM

Network-reachable but requires low-privilege credentials and complex JWT manipulation; no availability impact described; scope remains unchanged within the proxy.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
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 - 02:22 NVD
2.3 (LOW) 1.3 (LOW)

DescriptionCVE.org

A vulnerability was identified in BerriAI litellm up to 1.82.2. This affects an unknown function of the file litellm/proxy/auth/user_api_key_auth.py of the component M2M JWT Handler. Such manipulation leads to improper authorization. The attack can be launched remotely. A high complexity level is associated with this attack. The exploitability is reported as difficult. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 pypi packages depend on litellm (5 direct, 1 indirect)

Ecosystem-wide dependent count for version 1.82.2.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment 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 LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
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

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