Critical Authorization Bypass and SSRF in LiteLLM AI Gateway (CVE‑2026‑35029, CVE‑2026‑59823) Enables Admin Takeover and API‑Key Theft
What It Is — Check Point Research (CPR) disclosed two high‑severity flaws in LiteLLM 1.77.7, the open‑source gateway that brokers API calls to providers such as OpenAI, Google, and Anthropic.
- CVE‑2026‑35029 – Missing Authorization on
/config/update– The endpoint that updates runtime configuration lacks a proper check on UI‑token ownership. A low‑privilege, authenticated user can inject arbitrary environment variables. By settingUI_LOGO_PATHthe attacker can retrieve any file via/get_image, exposing system secrets. OverwritingUI_USERNAMEandUI_PASSWORDlets the attacker replace the proxy’s admin credentials and log in as a fullPROXY_ADMIN. Because LiteLLM also supports custom pass‑through endpoints that load Python modules from cloud storage, the same vector can be chained to load a malicious module from S3 or GCS, achieving remote code execution on the gateway host.
- CVE‑2026‑59823 – SSRF in “Clientside LLM Credentials” – The
/chat/completionsendpoint accepts auser_configparameter that controls routing. CPR found no validation, allowing an attacker to direct the request to a server they control. The gateway forwards the request with the stored provider API key in the default headers, leaking the credential to the attacker’s server.
Both issues grant an adversary access to sensitive configuration data, AI‑provider API keys, and the underlying host. The flaws were reported through a GitHub Security Advisory (GHSA‑69×8‑hrgq‑fjj8) and are patched in LiteLLM 1.83.9+.
Affected Products – LiteLLM open‑source AI gateway (versions ≤ 1.83.8), widely adopted with ~100 M monthly downloads and > 59 k GitHub stars.
Why It Matters for Trust & Control Assurance – The missing authorization check violates the core control objective of enforcing least‑privilege access to privileged configuration functions. It demonstrates how inadequate access controls can cascade into full system compromise and credential theft, undermining audit‑ready evidence of segregation of duties.
Recommended Actions –
- Upgrade immediately to LiteLLM 1.83.9 or later.
- Audit existing user roles: verify that only trusted accounts hold
PROXY_ADMINrights and that no low‑privilege accounts retain unnecessary tokens. - Rotate all AI‑provider API keys that were stored in the gateway and update downstream applications.
- Implement strict input validation on any user‑supplied routing parameters to block SSRF attempts.
- Enable logging of
/config/update,/login, and/chat/completionscalls and forward logs to a SIEM for continuous monitoring.
Source: HackRead – Check Point Reports LiteLLM Flaws Enabling Admin Takeover and API Key Theft