AI Stack Alert Medium TD-2026-0162 For CISO, SOC / IR, AppSec, AI Eng AI-assisted
LiteLLM pass_through_endpoints code injection allows authenticated remote code execution (ZDI-26-1084)
ZDI published advisory ZDI-26-1084 describing a remote code execution flaw in LiteLLM. The flaw exists in handling of pass_through_endpoints and results from lack of validation of code before it is executed via module import. Authentication is required, and an attacker runs code in the context of the service account. LiteLLM has issued an update to correct the issue.
Why it matters
Organizations running LiteLLM proxies with authenticated access exposed to users or other services could have the proxy's service account compromised. That account may hold access to model provider API keys and internal systems.
Do this
- Identify all LiteLLM deployments and their versions, and upgrade to the release that includes the fix referenced in pull request 27801.
- Restrict who holds LiteLLM credentials and rotate keys for any account with access to affected instances.
- Review pass_through_endpoints configuration and disable it where it is not required.
- Run LiteLLM under a least-privilege service account with limited network and secret access.
- Hunt logs for unexpected module imports or unusual process activity from LiteLLM service processes.
Signals
- NoCISA KEV
- 27/100Priority
- 80%Confidence
Evidence
“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.”
“LiteLLM has issued an update to correct this vulnerability.”
Sources
Affected / related
LiteLLM, litellm, BerriAI
Published 2026-11-24 06:00 UTC · updated 2026-11-24 22:35 UTC · AI-assisted summary, checked against quoted sources · How we score