Skip to content
NewA calmer, faster ZeroHour

CVE-2026-59823

Authenticated SSRF in LiteLLM Proxy via user_config

CVSS 4.0
5.3 medium
EPSS
—
Published
·
Modified
Analyze CVE-2026-59823 with Vani AIImpact, affected versions, exploitation status, mitigations and detection

LiteLLM Proxy versions before 1.83.9 let an authenticated caller who already has a valid virtual key bypass request-body checks by nesting api_base inside user_config. The check is_request_body_safe blocked top-level api_base and base_url but did not inspect or reject that nested field. Because user_config builds the outbound router, the proxy then makes a server-side request to an internal or external host chosen by the caller, which can reveal endpoints the caller could not reach directly (CWE-918). Organizations running a LiteLLM AI gateway on those versions are affected. It is fixed in 1.83.9; it is not listed in CISA KEV and no public proof-of-concept is known.

What to do: Upgrade the LiteLLM Proxy to 1.83.9 or later. Until then, restrict who can hold virtual keys, limit the proxy's network reach to internal services, and review logs for user_config values that set api_base or similar outbound destinations.

ProductAffected
BerriAI LiteLLM Proxy (AI Gateway)prior to 1.83.9
Estimated exposure
No basis for an estimate.

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description · NVD

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.83.9, an authenticated LiteLLM Proxy caller with a valid virtual key can place api_base inside the user_config request body to bypass is_request_body_safe, which blocks top-level api_base and base_url but previously did not inspect or reject user_config. Because user_config constructs the outbound router, the nested destination redirects a server-side request to an internal or external host selected by the caller and can expose endpoints the caller cannot otherwise access. This issue is fixed in version 1.83.9.

Ecosystems
pip
Weakness
CWE-918
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
GHSA
GHSA-hx8v-g79f-8w5f (medium)

In the news

3 stories