NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · LiteLLM

CVE-2026-35029: LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint

highCVSS 4.0 8.7GHSA-53mr-6c8q-9789

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 litellm

For 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 entries