LiteLLM pass-through endpoint code injection allows remote code execution (CVE-2026-136539)
Summary
Per the vendor advisory, LiteLLM has a code injection flaw in the handling of pass_through_endpoints. Exploitation requires authentication, and the CVSS vector lists high privileges required. An attacker who meets that can execute code in the context of the service account. The advisory text gives no affected version range or fixed release.
Severity
Timeline
A comment dated this day on BerriAI/litellm pull request 27801 describes refusing s3:// and gcs:// module loads that do not come through the config file.
The GitHub advisory GHSA-hq8p-44jw-2jhm for CVE-2026-136539 was published.
How it happened
Per the vendor advisory, the flaw is in the handling of pass_through_endpoints. Code is not properly validated before it is executed via module import. Authentication is required, and the CVSS vector lists high privileges required. A related BerriAI/litellm pull request says some admin-callable endpoints accept a target or custom_handler field from the request body, and that s3:// or gcs:// values were previously loaded regardless of origin. That pull request does not mention this CVE.
How to check your app
- all affected versions: Determine whether the deployment uses pass-through endpoints, since the advisory places the flaw in their handling.
- all affected versions: Review which accounts hold high privileges and can create or change pass-through endpoint settings, since the advisory requires authentication and the CVSS vector lists high privileges required.
Sources
Corrections and updates
Cite this entry
- Title
- LiteLLM pass-through endpoint code injection allows remote code execution (CVE-2026-136539)
- Added
- Nov 25, 2026
- URL
- https://vibeincidents.com/incidents/incident-cve-2026-136539/
- Suggested citation
VibeIncidents. "LiteLLM pass-through endpoint code injection allows remote code execution (CVE-2026-136539)." Nov 25, 2026. https://vibeincidents.com/incidents/incident-cve-2026-136539/