Skip to content
RCE Advisory Advanced CVE-2026-136539

(Pwn2Own) LiteLLM Pass-Through Endpoint Code Injection Remote Code Execution Vulnerability

LiteLLM's pass-through endpoint handling fails to validate code before executing it via module import, allowing an authenticated remote attacker to run arbitrary code as the service account.

k3vg3n Follow

Originally disclosed on Zero Day Initiative

High 7.2 View original

This vulnerability allows remote attackers to execute arbitrary code on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.

k3vg3n, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the pass_through_endpoints feature imports and executes code from a source that is not properly validated, allowing an authenticated user to supply malicious code.

Impact

An authenticated remote attacker could execute arbitrary code in the context of the service account, potentially compromising the whole LiteLLM installation.

What the attacker needed

Authentication required; access to pass-through endpoints

The fix

LiteLLM has issued an update to correct this vulnerability.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

LiteLLM is a tool that lets applications talk to large language models. A part of it called pass-through endpoints can load extra code, and it did not check that code before running it. Someone who is already logged in could make the server run their own code, taking over the service.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.