LiteLLM affected by privilege escalation via unrestricted proxy configuration endpoint
Title source: cnaExploitation Summary
EIP tracks 1 public exploit for CVE-2026-35029. PoCs published by learner202649. A Nuclei detection template is also available.
AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-35029, demonstrating a broken access control vulnerability in LiteLLM's `/config/update` endpoint. The exploit allows unauthorized users to modify proxy configurations, leading to environment variable exfiltration, arbitrary file reads, and potential RCE.
Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.0, the /config/update endpoint does not enforce admin role authorization. A user who is already authenticated into the platform can then use this endpoint to modify proxy configuration and environment variables, register custom pass-through endpoint handlers pointing to attacker-controlled Python code, achieving remote code execution, read arbitrary server files by setting UI_LOGO_PATH and fetching via /get_image, and take over other privileged accounts by overwriting UI_USERNAME and UI_PASSWORD environment variables. Fixed in v1.83.0.
Exploits (1)
This repository contains a functional exploit for CVE-2026-35029, demonstrating a broken access control vulnerability in LiteLLM's `/config/update` endpoint. The exploit allows unauthorized users to modify proxy configurations, leading to environment variable exfiltration, arbitrary file reads, and potential RCE.
Nuclei Templates (1)
References (2)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H