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/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 token; session expiration flaw yields limited credential reuse impact with no availability disruption.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3Blast 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 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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-613 – Insufficient Session Expiration
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-38138
GHSA-mf52-j94g-746m