Skip to main content

LiteLLM CVE-2026-136539

| EUVDEUVD-2026-134623 HIGH
Code Injection (CWE-94)
2026-11-24 zdi-disclosures@trendmicro.com GHSA-hq8p-44jw-2jhm
7.2
CVSS 3.0 · Vendor: trendmicro
View

Attack ChainAIDerived

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

  1. Access
    Authenticate with high-privilege proxy access
  2. Exploit
    Define malicious pass-through endpoint handler
  3. Execution
    get_instance_fn imports unvalidated module
  4. Impact
    Execute arbitrary code as service account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial 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 authenticated, high-privilege access sufficient to define or modify LiteLLM pass_through_endpoints configuration (the handler/target that get_instance_fn imports) - per CVSS PR:H this is not a default-config unauthenticated path. The concrete trigger is a pass-through endpoint whose handler/adapter target resolves to attacker-supplied code that is imported as a module without validation, executing as the service account. Limiting factors: the attacker must hold configuration-level privileges on the proxy (not an anonymous remote user), and no user interaction is needed (UI:N). The impact is bounded to the service account's context (scope unchanged, S:U), so exposure depends on how that account is privileged in the deployment.

Impact

This is a genuine but access-gated code-execution flaw rather than a mass-exploitable internet threat. The CVSS 3.0 vector (CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, base 7.2 High) is network-reachable with low attack complexity, but PR:H means an attacker must already hold high privileges - effectively the ability to define or alter pass_through_endpoints configuration on the LiteLLM proxy. The CWE-94 code-injection path is consistent with the PR evidence: handler targets (custom_handler / adapter targets) are resolved via get_instance_fn and imported as modules without a validation gate, so a malicious handler reference executes in the service-account context. No KEV entry is present in the input (not confirmed actively exploited), and no EPSS score was provided, so exploitation probability cannot be quantified from this data. The references are a vendor patch (PR #27801) and the ZDI advisory (ZDI-26-1084), not a working-exploit PoC. The vuln.today decision label is 'this_week', indicating prompt but non-emergency remediation. Net priority: a real, high-impact RCE that should be patched this week, but the PR:H precondition substantially limits its real-world reach compared with an unauthenticated flaw. Verify in your environment who can edit pass-through/handler configuration - that access boundary is the true determinant of risk.

Exploit ScenarioDerived

An authenticated operator (or an attacker who has obtained high-privilege/admin access to the LiteLLM proxy configuration) defines a pass-through endpoint whose handler/target resolves to attacker-controlled code; when LiteLLM loads that configuration it imports the module via get_instance_fn without validation, running the code as the service account. Because AC:L and AV:N apply, the action is straightforward and remote once the privileged config access exists. No public working exploit is identified in the provided data, though the vendor patch (PR #27801) and ZDI advisory ZDI-26-1084 document the flaw.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 1.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 24, 2026

Authenticated code injection in LiteLLM's pass-through endpoint handling lets a high-privileged proxy operator execute arbitrary code as the service account by supplying a handler or adapter target that the proxy imports as a module without validation. Only deployments that expose configuration-level control over pass_through_endpoints are affected; the CVSS vector (PR:H) confirms this is not an unauthenticated, default-configuration path, and no user interaction is needed. There is no CISA KEV listing and no public exploit code was identified at time of analysis, so this is an access-gated code-execution flaw rather than a mass-exploitable internet threat; an upstream fix exists in BerriAI/litellm pull request 27801 (ZDI-26-1084 / ZDI-CAN-31433).

RemediationAI

Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change in https://github.com/BerriAI/litellm/pull/27801, which threads config_file_path into get_instance_fn so s3:// and gcs:// handler references are only resolved from the operator's config.yaml during startup, and take a current LiteLLM release that contains that commit rather than assuming an older tag is fixed. Until an upgraded build is running, restrict who can create or modify pass-through endpoint definitions, JWT custom_validate settings, and the proxy configuration file itself to trusted administrators, since PR:H privileges are exactly the prerequisite for exploitation, and avoid any handler/adapter target that resolves to a remote bucket or an untrusted module path. Review existing configuration for handler values pointing outside your own reviewed modules, and note that tightening these permissions does not remove the vulnerable import path - it only removes the attacker's ability to reach it. Consult https://www.zerodayinitiative.com/advisories/ZDI-26-1084/ for the vendor's remediation statement.

Affected VersionsENISA

LiteLLM 1.83.14-stable.patch.3

Affected Packages

euvd litellm no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

LiteLLM is a Python LLM proxy/gateway that builds routes dynamically at startup and at runtime from configuration, including operator-defined pass-through endpoints. The affected code path resolves a configured handler or adapter string through get_instance_fn(), which imports and instantiates the referenced Python object. Because the target was not validated before import, a value pointing at attacker-controlled code is executed in the proxy's process context - the classic CWE-94 code injection pattern where data intended as a reference is treated as executable. The upstream patch threads a new config_file_path argument from the operator's config.yaml through initialize_pass_through_endpoints, create_pass_through_route, add_exact_path_route, add_subpath_route and the JWT-auth custom_validate path into get_instance_fn, and adds a runtime gate that refuses s3:// and gcs:// handler references when that path is None. In other words, remote-bucket module resolution is now only honoured for handlers declared in the operator's own YAML configuration, and callers reaching the loader from a non-YAML path cannot trigger remote imports.

Know when the next one hits your stack

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

Network-reachable but requires high-privilege access to edit pass-through endpoint/handler config (PR:H); import executes attacker code with full confidentiality, integrity and availability impact in the service account (S:U).

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

Primary rating from Vendor (trendmicro).

CVSS VectorVendor: trendmicro

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

DescriptionCVE.org

LiteLLM Pass-Through Endpoint Code Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.

The specific flaw exists within the handling of pass_through_endpoints. The issue results from the lack of proper validation of code before it is executed via module import. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-31433.

Executive ViewAI

Why It Matters

LiteLLM, an AI gateway used by organizations to manage model access, contains a high-severity code injection vulnerability (CVE-2026-136539). A high-privileged proxy operator-typically an internal administrator or trusted power user-could execute arbitrary code on the LiteLLM host, potentially compromising sensitive AI credentials, data, and service availability. Leadership should prioritize remediation because this role often has broad access, and exploitation could lead to lateral movement or data exposure.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; restrict pass_through_endpoints configuration to trusted administrators, enforce strict RBAC for high-privileged proxy operators, and monitor for anomalous module imports or process execution.

Threat Intelligence Overview

EPSS Score
1.1%
Top 34% exploitable
Prevalence
Medium
popular open-source LLM gateway/proxy, common in AI deployments but not universal
Data Quality
3 sources
Confidence: Low

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 HIGH
CISA KEV No
Public POC No
EPSS 1.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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