Skip to main content

LiteLLM EUVDEUVD-2026-38155

| CVE-2026-12796 LOW
Insufficient Session Expiration (CWE-613)
2026-06-21 VulDB GHSA-w2mh-qq9q-453x
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with low-privilege SSO credentials
  2. Delivery
    Obtain valid OpenID Connect session token
  3. Exploit
    Craft or replay manipulated redirect response to get_redirect_response_from_openid
  4. Execution
    Exploit absent session expiration enforcement
  5. Impact
    Maintain persistent unauthorized session access to LiteLLM proxy UI

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation strictly requires a valid low-privilege authenticated session against the LiteLLM proxy - the CVSS 4.0 vector explicitly encodes PR:L, confirming authentication is mandatory and unauthenticated exploitation is not possible. The critical deployment condition is that SSO via OpenID Connect must be configured and enabled on the LiteLLM instance; deployments relying solely on API key authentication do not invoke the get_redirect_response_from_openid code path and are not affected by this specific vulnerability. The attacker must have network-level access to the LiteLLM proxy's SSO callback endpoint (AV:N, AC:L, AT:N). No victim interaction is required (UI:N). The non-default SSO configuration requirement is the primary limiting factor that constrains the exploitable population to LiteLLM deployments that have explicitly integrated an OIDC identity provider.

Impact

The CVSS 4.0 base score of 2.1 - one of the lowest possible - accurately reflects the constrained exploitation conditions: the attacker must already hold a low-privilege authenticated session (PR:L), and impacts are uniformly low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L). The E:P exploit modifier in the provided CVSS 4.0 vector confirms the POC is factored in, yet the score remains very low, indicating the POC alone does not dramatically change the threat landscape. The vulnerability is not listed in CISA KEV, meaning no confirmed widespread or targeted active exploitation has been established. The gap between the public POC existence and the KEV absence suggests exploitation may be technically straightforward but organizationally low-value for threat actors, given the authenticated prerequisite. Real-world priority is low for most deployments; however, environments where the LiteLLM proxy is used with SSO and multi-tenant user isolation is a security requirement should treat this more seriously, as session persistence can erode user separation boundaries. No EPSS data was provided - exploitation probability cannot be quantitatively assessed beyond the qualitative signals above.

Exploit ScenarioDerived

An authenticated LiteLLM proxy user with low-privilege SSO access sends a crafted or replayed OpenID Connect redirect response to the get_redirect_response_from_openid endpoint, triggering the insufficient session expiration flaw and causing the server to accept a session that should have been invalidated. A public exploit POC is available at https://gist.github.com/YLChen-007/5fa8af12e1b183674d7ca96d852fb697, significantly lowering the technical barrier. The attacker retains an unauthorized persistent session, accessing the LiteLLM proxy UI and its managed API key or configuration data without re-authenticating.

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

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

Alert me

AnalysisAIv1 – Jun 22, 2026

Insufficient session expiration in LiteLLM's SSO authentication flow exposes deployments running versions 1.82.0 through 1.82.2 to unauthorized persistent session access by low-privileged authenticated users. The flaw resides in the get_redirect_response_from_openid function within the OpenID Connect callback handling code, allowing manipulation of the SSO redirect response to bypass session lifetime enforcement. No confirmed active exploitation (not in CISA KEV), but a publicly available proof-of-concept exploit on GitHub lowers the barrier to abuse, and the CVSS 4.0 vector explicitly encodes the exploit availability modifier E:P.

RemediationAI

No vendor-released patch with a confirmed exact fix version has been identified in the available data - the fix status from BerriAI is unknown at time of analysis. Organizations should monitor the BerriAI/litellm GitHub repository and VulDB advisory at https://vuldb.com/vuln/372558 for a patched release. As an interim compensating control, restrict network access to the LiteLLM proxy's SSO endpoints (specifically the /ui/sso callback path) to trusted internal networks or VPN-only access, reducing the network-reachable attack surface. Implementing short absolute session timeouts at the reverse proxy layer (e.g., via nginx proxy_read_timeout combined with session cookie Max-Age enforcement) can limit the window during which an expired session remains exploitable. If SSO is not strictly required, disabling the OpenID Connect SSO feature entirely eliminates the vulnerable code path - note this trades off federated authentication convenience for risk reduction. Review server-side session invalidation logic on logout as an architectural follow-up.

Affected VersionsENISA

LiteLLM 1.82.2
LiteLLM 1.82.0
LiteLLM 1.82.1

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

The vulnerability is rooted in CWE-613 (Insufficient Session Expiration), a class of flaw where an application fails to properly invalidate or enforce expiration on session tokens at the conclusion of an authentication cycle, logout, or token revocation event. Specifically, the affected code is litellm/proxy/management_endpoints/ui_sso.py, function get_redirect_response_from_openid, which handles the OpenID Connect (OIDC) redirect callback - the final leg of the SSO handshake where an authorization code is exchanged for session credentials. In OIDC flows, this phase is responsible for establishing and validating session state; a CWE-613 flaw here typically manifests as the application accepting stale, replayed, or previously-issued redirect tokens whose expiration is not enforced, allowing an attacker to sustain a valid session beyond its authorized window. The affected CPE is cpe:2.3:a:berriai:litellm:*:*:*:*:*:*:*:*, covering all LiteLLM variants up to 1.82.2. The VulDB tag 'Information Disclosure' aligns with the consequence of unauthorized continued access to session-scoped data.

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 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
vuln.today AI 5.4 MEDIUM

Low-privilege SSO session required (PR:L); impact limited to session persistence enabling minor unauthorized data access and action (C:L/I:L); no availability impact from expiration bypass.

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

2
Severity Changed
Jun 21, 2026 - 10:22 NVD
MEDIUM LOW
CVSS changed
Jun 21, 2026 - 10:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was identified in BerriAI litellm up to 1.82.2. This impacts the function get_redirect_response_from_openid of the file litellm/proxy/management_endpoints/ui_sso.py of the component SSO Authentication Flow. The manipulation leads to session expiration. The attack is possible to be carried out remotely. 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.3%
Top 80% 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.3%
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

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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