8.7high
LiteLLM affected by privilege escalation via unrestricted proxy configuration endpoint
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 39.3% (higher than 98% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-53mr-6c8q-9789PYSEC-2026-2597
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| BerriAI litellm | < 1.83.0 | CVE List |
| ansible-automation-platform-26/lightspeed-chatbot-rhel9 | Not specified Not affected: from 1777398576 before * | CVE List |
| rhoai/odh-llama-stack-core-rhel9 | Not specified Not affected: from 1781826406 before *, from 1782310008 before * | CVE List |
| redhat-user-workloads/lightspeed-stack | Not specified | CVE List |
| rhoai/odh-mlflow-rhel9 | Not specified | CVE List |
| litellm (PyPI) | before 1.83.0 | GitHub Advisory Database, PyPA Advisory Database |
| litellm litellm | before 1.83.0 | NVD |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| redhat-SADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | 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 |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
pendiente...
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35029 changed 2026-07-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-53mr-6c8q-9789 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-35029 changed 2026-10-23 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2597 changed 2026-07-13 | CC-BY-4.0 |