Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege LiteLLM proxy credentials
-
DeliveryAuthenticate and receive session/API token
-
ExploitManipulate authenticate_user to bypass token expiration
-
ExecutionReuse expired token against PROXY_ADMIN API
-
ImpactAccess model configs or generate additional API keys
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
|
| Exploitation Conditions | Exploitation requires that the attacker already holds a low-privilege account or valid-at-some-point session token within the target LiteLLM proxy deployment (PR:L per CVSS 4.0 vector). The vulnerable code path is specifically triggered through the PROXY_ADMIN database API Key Generator component - meaning the proxy must be deployed in a configuration where the admin API is accessible and API key generation is enabled (which is the standard proxy deployment model). The vulnerability does not require user interaction and is remotely accessible over the network (AV:N, UI:N). What limits exploitation: the attacker must have prior authenticated access at some privilege level; purely external unauthenticated attackers cannot trigger this flaw. Additionally, the impact is bounded to the proxy tier - downstream LLM provider credentials or systems are only at risk if exposed through the proxy's session context. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) places this at 2.1 - the lowest tier, reflecting that while network-exploitable without user interaction, it requires at minimum low-privilege access (PR:L) and delivers only limited confidentiality, integrity, and availability impact. The E:P modifier in the supplemental vector confirms a publicly available proof-of-concept (GitHub gist), which elevates real-world risk slightly above the base score alone would suggest. Critically, this vulnerability is NOT listed in the CISA KEV catalog, meaning confirmed active exploitation at scale has not been observed. The 'Information Disclosure' tag and session expiration root cause suggest the primary concern is credential persistence - an attacker who already has some foothold can extend or reuse their access rather than gaining initial compromise. This is a meaningful risk in multi-tenant LiteLLM deployments (e.g., enterprise proxies where different teams share one instance), but a low priority for single-user or tightly controlled environments. CVSS signals and description are consistent - no conflicting data identified. |
| Exploit ScenarioDerived | An attacker with low-level access to a shared LiteLLM proxy deployment - such as a standard API user - obtains their own session token or intercepts a token that should have expired after logout or rotation. Leveraging the public proof-of-concept (https://gist.github.com/YLChen-007/39ed709ce322431658a05b951e91f278), the attacker manipulates the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 22, 2026
Insufficient session expiration in LiteLLM's proxy authentication layer (versions 1.82.0 through 1.82.2) allows remote low-privileged users to reuse or manipulate session tokens generated by the PROXY_ADMIN API Key Generator beyond their intended validity window. The flaw resides in the authenticate_user function within litellm/proxy/auth/login_utils.py, where session/API key lifecycle management does not enforce expiration correctly per CWE-613. A public proof-of-concept exploit exists (GitHub gist), though no active exploitation has been confirmed via CISA KEV. The CVSS 4.0 score of 2.1 reflects a limited real-world blast radius despite the network-accessible attack vector.
RemediationAI
No vendor-released patched version has been independently confirmed in the available data - the affected range is listed through 1.82.2 with no upper-bound fix version specified in CPE or advisory references. Users should monitor the BerriAI LiteLLM GitHub repository and PyPI releases for a patch targeting this issue. In the interim, operators should enforce explicit API key rotation policies and manually revoke all active session tokens via the LiteLLM admin interface. Restricting access to the PROXY_ADMIN API Key Generator endpoint to trusted internal networks or VPN-only traffic using a reverse proxy or firewall rule reduces exposure, though this does not eliminate the underlying flaw. Enabling short-lived token TTLs if configurable in the deployment, and auditing existing API keys for anomalous reuse patterns, are also practical compensating controls. References: VulDB advisory at https://vuldb.com/vuln/372514 and NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-12772.
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 (cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*) is an open-source LLM proxy and SDK aggregator maintained by BerriAI that provides a unified interface to multiple large language model providers. The affected component - the PROXY_ADMIN database API Key Generator - is responsible for issuing and managing authentication tokens for proxy consumers and administrators. The root cause is CWE-613 (Insufficient Session Expiration): the authenticate_user function in litellm/proxy/auth/login_utils.py fails to enforce proper session/token invalidation, either not revoking keys upon logout/rotation or allowing manipulation of token state to prevent expiration. This class of flaw is particularly sensitive in an LLM proxy context because persistent tokens can be used to issue downstream LLM API calls, potentially exposing API billing accounts, model routing configurations, and request/response logs to unauthorized parties.
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable but requires low-privilege token; session expiration flaw yields limited credential reuse impact with no availability disruption.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security flaw has been discovered in BerriAI litellm up to 1.82.2. This impacts the function authenticate_user of the file litellm/proxy/auth/login_utils.py of the component PROXY_ADMIN database API Key Generator. Performing a manipulation results in session expiration. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure.
Blast Radius
ecosystem impact- 6 pypi packages depend on litellm (5 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.82.2.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-38138
GHSA-mf52-j94g-746m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB