Skip to main content

LiteLLM EUVDEUVD-2026-38138

| CVE-2026-12772 LOW
Insufficient Session Expiration (CWE-613)
2026-06-21 VulDB GHSA-mf52-j94g-746m
2.1
CVSS 4.0 · Vendor: VulDB

Severity by source

Vendor (VulDB) PRIMARY
2.1 MEDIUM
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
vuln.today AI
5.4 MEDIUM

Network-reachable but requires low-privilege token; session expiration flaw yields limited credential reuse impact with no availability disruption.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/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
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

3
Analysis Generated
Jun 22, 2026 - 06:29 vuln.today
Severity Changed
Jun 21, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Jun 21, 2026 - 03:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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.

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

CVE-2024-5710 MEDIUM POC
6.5 Jun 27

berriai/litellm version 1.34.34 is vulnerable to improper access control in its team management functionality. Rated med

Share

EUVD-2026-38138 vulnerability details – vuln.today

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