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
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.
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 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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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-38155
GHSA-w2mh-qq9q-453x