Advisory

GHSA-53mr-6c8q-9789

Also known as: CVE-2026-35029, PYSEC-2026-2597

Summary

LiteLLM: Privilege escalation via unrestricted proxy configuration endpoint

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-03 21:59 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

litellm

PyPI · All systems

Affected

  • introduced 0, fixed 1.83.0 (ecosystem)

Fixed versions

1.83.0

Fix

  • Fixed version 1.83.0
    pip install --upgrade litellm==1.83.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences