Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with high-privilege proxy access
-
ExploitDefine malicious pass-through endpoint handler
-
Executionget_instance_fn imports unvalidated module
-
ImpactExecute 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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).
Primary rating from Vendor (trendmicro).
CVSS VectorVendor: trendmicro
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.
Zero Day Initiative Advisories
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
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.
EUVD-2026-134623
GHSA-hq8p-44jw-2jhm
NVD
CVE.org
EPSS
Exploit-DB