Skip to main content

LiteLLM CVE-2026-84377

| EUVDEUVD-2026-70236 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-02 GitHub_M GHSA-3cv6-jpf6-8222
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid LiteLLM proxy credential
  2. Delivery
    Craft request with attacker-controlled api_base or bracket-notation equivalent
  3. Exploit
    Bypass incomplete banned-parameter validation
  4. Execution
    Proxy forwards request with operator provider API key
  5. Persist
    Attacker server captures upstream LLM credential
  6. Impact
    Abuse stolen key for unbounded API spend or further lateral movement

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a valid LiteLLM proxy account at any privilege level (PR:L - standard user, not administrator). The attacker must supply one of the vulnerable routing or credential parameters (api_base, base_url, model_list, fallbacks, litellm_credential_name) in the request body, including via bracket-notation form data or the model field in chat or image endpoints, all of which bypassed the pre-patch validation. No special server-side configuration is required beyond default LiteLLM proxy deployment - the flaw exists in the core request processing pipeline active in all standard deployments. Unauthenticated exploitation is not possible. Impact is bounded to credentials stored in the proxy and internal network services reachable from the proxy host.

Impact

The CVSS 6.5 score (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) correctly reflects network-accessible exploitation requiring only standard authenticated access, with high confidentiality impact from provider credential theft. The unchanged scope (S:U) is conservative given documented SSRF pivot capability to internal services reachable by the proxy host, but the primary confirmed impact is credential exfiltration. No EPSS data was provided; the vulnerability is not listed in CISA KEV; no public PoC has been identified beyond fix-confirming upstream commits. The practical risk is elevated in multi-tenant LiteLLM deployments where untrusted authenticated users exist - stolen upstream LLM provider API keys can be exploited for financial abuse (unbounded API spend) and data exfiltration independent of the proxy. Single-tenant, fully-trusted-user deployments face materially lower risk. The CVSS score may understate the business impact in SaaS or shared-proxy configurations.

Exploit ScenarioDerived

An attacker with a standard LiteLLM proxy account crafts a chat completion or image generation request that includes api_base (or its bracket-notation equivalent metadata[api_base]) pointing to an attacker-controlled HTTPS server. The proxy, failing to strip the operator's stored upstream provider credential before forwarding, sends the full request - including the Authorization header containing the OpenAI or Anthropic API key - to the attacker's server. The attacker captures the credential and begins making direct API calls billed to the victim operator, or leverages the SSRF vector to probe internal services reachable from the proxy host.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 02, 2026

Credential exfiltration via SSRF in LiteLLM proxy (AI Gateway) prior to versions 1.88.6 and 1.96.2 allows any authenticated proxy user to redirect outbound LLM provider calls to an attacker-controlled endpoint, causing the proxy to transmit its operator-configured API keys and other secrets to that destination. Vulnerable routing parameters - api_base, base_url, model_list, fallbacks, and litellm_credential_name - could be injected through nested request fields, path values, and bracket-notation form data that incomplete validation across five proxy modules failed to intercept. No public exploit code has been identified at time of analysis; vendor-released patches are confirmed at versions 1.88.6 and 1.96.2.

RemediationAI

Upgrade LiteLLM to version 1.88.6 or 1.96.2; both fix versions are confirmed by GitHub release tags at https://github.com/BerriAI/litellm/releases/tag/v1.88.6 and https://github.com/BerriAI/litellm/releases/tag/v1.96.2, and the fix is distributed across three merged PRs (#36011, #36314, #36494). If immediate upgrade is not feasible, restrict LiteLLM proxy access to fully trusted authenticated users only, as any valid proxy credential is sufficient to exploit this; consider blocking or auditing inbound requests containing api_base, base_url, model_list, fallbacks, or litellm_credential_name parameters at an upstream WAF or API gateway layer. Do not enable the general_settings.allow_client_side_credentials proxy option in multi-tenant or untrusted-user environments, as the patch intentionally preserves that opt-in path for administrators who need it.

Affected VersionsENISA

LiteLLM < 1.88.6
LiteLLM 1.89.0, < 1.96.2

Affected Packages

pypi litellm fix: 1.88.6, 1.89.7, 1.90.7, 1.91.5, 1.92.2, 1.93.2, 1.94.3, 1.95.1, 1.96.2

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 is an open-source AI gateway (CPE: cpe:2.3:a:berriai:litellm) that proxies requests to upstream LLM provider APIs (OpenAI, Anthropic, etc.) while storing operator-level provider credentials server-side. CWE-918 (Server-Side Request Forgery) applies because incomplete input validation across auth_utils.py, common_request_processing.py, health_endpoints/_health_endpoints.py, image_endpoints/endpoints.py, and litellm_pre_call_utils.py allowed user-controlled routing parameters to override the operator-configured provider endpoint without clearing the stored credentials. The bypass was specifically achievable through bracket-notation form data (e.g., metadata[api_base]) and nested fields that the banned-parameter checks did not inspect, and through the model parameter in the main call and image generation paths which lacked url-destination rejection entirely.

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 (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Network-accessible SSRF requiring only standard user authentication; high confidentiality impact from provider credential theft; scope unchanged as primary impact targets proxy's own stored secrets.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
SUSE MEDIUM
Red Hat 6.5 MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Sep 02, 2026 - 19:17 EUVD

DescriptionCVE.org

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to versions 1.88.6 and 1.96.2, any authenticated LiteLLM proxy user could redirect an outbound provider call to a destination the user controls and cause the proxy to send its configured provider credentials to that destination. Request validation in litellm/proxy/auth/auth_utils.py, litellm/proxy/common_request_processing.py, litellm/proxy/health_endpoints/_health_endpoints.py, litellm/proxy/image_endpoints/endpoints.py, and litellm/proxy/litellm_pre_call_utils.py used incomplete checks that did not cover every sensitive parameter or inspect equivalent values across nested request fields, path values, and bracket-notation form data. Routing and credential parameters including api_base, base_url, model_list, fallbacks, and litellm_credential_name could therefore be applied without clearing the operator's stored key, exposing upstream provider credentials and other configured secrets and permitting server-side requests to internal services reachable by the proxy. This issue is fixed in versions 1.88.6 and 1.96.2.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Prevalence
Medium
popular AI gateway used in enterprise and developer LLM deployments
Threat Intel
1
1 sources
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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

Vendor StatusVendor

SUSE

Severity: Moderate

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