Severity by source
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable but requires low-privilege credentials and complex JWT manipulation; no availability impact described; scope remains unchanged within the proxy.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2Blast Radius
ecosystem impact- 6 pypi packages depend on litellm (6 direct, 0 indirect)
Ecosystem-wide dependent count for version 1.82.2.
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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Remote command execution in LiteLLM proxy server versions 1.74.2 through 1.83.6 allows any authenticated user to execute
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
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
berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. Rated med
Same weakness CWE-285 – Improper Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38137
GHSA-qmf3-4767-5fg3