LiteLLM gateway lets any user read files, hijack admin, and execute code
LiteLLM’s /config/update endpoint lacks proper authorization, enabling low-privilege users to read arbitrary files, hijack admin credentials, and achieve remote code execution.
Security & privacy Check Point Research 13 Oct 2026 Disclosure Prototype evidence
Published as “When LLM Gateways Go Wrong: Findings from LiteLLM”
Why it matters
Operators of LLM gateways must enforce strict RBAC and validate all configuration inputs to prevent file disclosure, credential theft, and code execution.
Summary
The researchers examined LiteLLM v1.77.7 and discovered that the POST /config/update endpoint does not enforce role-based access control, allowing any authenticated user to modify runtime configuration. By injecting environment variables they can read arbitrary files (e.g., /etc/passwd) and overwrite admin credentials, leading to full admin takeover. The same endpoint also permits defining pass-through adapters that load and execute remote Python modules, giving remote code execution. Additionally, the clientside LLM credentials feature accepts an unchecked user_config object, enabling SSRF to exfiltrate provider keys. All findings were demonstrated on a single deployment and have since been patched in version 1.83.9.
What they found 3
- Missing authorization check on /config/update allows any authenticated user to modify configuration
“The most significant issues stemmed from a missing authorization check on the /config/update endpoint, which allowed any authenticated user (including low-privileged accounts) to modify the proxy’s runtime configuration.”
- Arbitrary file read via UI_LOGO_PATH environment variable injection
“Impact: Read any file accessible to the LiteLLM process, including configuration files, secrets, and credentials.”
- SSRF via unvalidated user_config parameter in clientside LLM credentials feature
“No validation is performed on the user_config contents.”
Caveats 2
- These high-impact vulnerabilities (tracked as CVE-2026-35029, CVE-2026-59823) have been resolved as of LiteLLM version 1.83.9.
- Note: this issue was reported to LiteLLM and acknowledged at the time of reporting - however the issue appears to be a duplicate finding and is being tracked as GHSA-69×8-hrgq-fjj8.
What’s new here 4
- Missing RBAC on /config/update permits any user to change proxy configuration
- Environment variable injection enables arbitrary file read and admin credential takeover
- Pass-through endpoint loading of remote Python modules provides remote code execution
- Unvalidated user_config parameter allows SSRF to steal LLM provider keys