ZDI-26-1084: (Pwn2Own) 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 passthroughendpoints. 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.
Other sources
This vulnerability allows remote attackers to execute arbitrary code on affected installations of LiteLLM. Authentication is required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 7.2. The following CVEs are assigned: CVE-2026-136539.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What level of access does an attacker need to exploit this issue?
The attacker must be authenticated to the affected LiteLLM installation. The vulnerability has low attack complexity and does not require user interaction once authenticated.
What access would successful exploitation provide?
An attacker can execute arbitrary code in the context of the LiteLLM service account. The stated impact includes compromise of confidentiality, integrity, and availability.
Which functionality should be prioritized during triage?
Prioritize review of the pass_through_endpoints functionality, where insufficient validation allows code to be executed through a module import.