GitHub Advisoryadvisory · PyPI

GHSA-53mr-6c8q-9789 LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint

HIGH Published 2026-04-03 Modified 2026-05-06 Official page ↗
Aliases
CVE-2026-35029
Ecosystem
PyPI
Packages
litellm
Severity
High
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:L/SI:L/SA:N
Weaknesses
CWE-863
Reviewed
2026-04-03

Affected packages

• PyPI litellm: < 1.83.0 → fixed in 1.83.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2026-35029 LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References