CVE-2026-35029: LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint
LiteLLM before 1.83.0 does not check the admin role on its /config/update endpoint. Any authenticated user, such as a holder of an ordinary API key, can rewrite the proxy configuration and environment variables, which leads to remote code execution, file reads and takeover of admin accounts. Upgrade to 1.83.0.
Published Apr 3, 2026 · Updated May 6, 2026 · Analysis Oct 30, 2026
What an attacker can do
The /config/update endpoint accepts changes to proxy configuration and environment variables from any logged-in caller. The advisory lists four outcomes.
- Register a custom pass-through endpoint handler that points at attacker-controlled Python code. This gives remote code execution on the proxy host.
- Set UI_LOGO_PATH to a server file path and fetch it through /get_image, which reads arbitrary files from the server.
- Overwrite UI_USERNAME and UI_PASSWORD, and take over the admin account.
- Change other settings and environment variables.
The attacker needs only a low-privilege credential, no user interaction. In a company proxy that issues virtual keys to many developers and apps, every key holder is a possible attacker. A LiteLLM proxy typically holds upstream provider API keys, so compromise exposes those and the traffic that passes through the gateway. The EPSS score is high, about 39 percent, so exploitation is likely.
Who is affected
The pip package litellm, all versions before 1.83.0. Every deployment of the proxy server that issues API keys to anyone other than admins is exposed. Check the version:
pip show litellmFor Docker, check the image tag of the proxy container.
litellm
- Ecosystem
- PyPI
- Affected
- < 1.83.0
- Fixed in
- 1.83.0
- Check
pip show litellm
How to fix it
Upgrade to litellm 1.83.0. The endpoint now requires the proxy_admin role.
pip install --upgrade "litellm>=1.83.0"The advisory says there is no configuration-level workaround. It advises restricting API key distribution until you upgrade. After upgrading, rotate the upstream provider keys and the UI credentials if you cannot rule out earlier abuse.
How to tell if you were hit
Check proxy logs for calls to /config/update from non-admin keys. Review the running configuration for pass-through endpoints you did not add, and for changed values of UI_LOGO_PATH, UI_USERNAME and UI_PASSWORD. Look for requests to /get_image after a logo path change, and for unexpected child processes or outbound connections from the proxy. A password you did not change that no longer works is also a sign.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Impact
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 do the following:
- 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
- Take over other priveleged accounts by overwriting UI_USERNAME and UI_PASSWORD environment variables
Patches
Fixed in v1.83.0. The endpoint now requires proxy_admin role.
Workarounds
Restrict API key distribution. There is no configuration-level workaround.
Questions
- Does an attacker need admin rights?
No. Any authenticated user can call /config/update before 1.83.0. A low-privilege API key is enough, with no user interaction.
- Is there a workaround?
Only restricting API key distribution. The advisory says there is no configuration-level workaround, so upgrade to 1.83.0.
- Is it likely to be exploited?
The advisory lists an EPSS score of about 38.6 percent, in the 99th percentile. The sources do not report confirmed exploitation, and the entry has no CISA KEV data.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More LiteLLM vulnerabilities
All LiteLLM entriesCVE-2026-114612
LiteLLM: Privilege Escalation to Proxy Admin via Cross-Domain Reuse of the Salt Key
high9.9Oct 27, 2026GHSA-g5ff-637f-6q2m
LiteLLM: internal_user_viewer arbitrary local file read via `vertex_ai_credentials`
high8.1Oct 27, 2026GHSA-hhww-mrg2-969h
LiteLLM vulnerable to reflected XSS in /sso/debug/callback
medium6.8Oct 27, 2026CVE-2026-84377
LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters
medium6.5Sep 30, 2026CVE-2026-59823
LiteLLM Proxy has server-side request forgery via the `user_config` request parameter
medium5.3Sep 17, 2026CVE-2026-37004
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
critical9.8Aug 27, 2026
