highCVSS 7.2NVD status: Analyzed

CVE-2026-59821

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format.

ComponentLiteLLM
Severityhigh (CVSS 7.2)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published (NVD)2026-07-08
Last modified2026-07-13
Affected versions
litellm < 1.82.0
litellm = 1.82.0
Fixed in1.82.0
WeaknessCWE-94
CISA KEVnot listed

NVD description

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowing a privileged user with access to create or update guardrails to submit custom Python code that executed in the LiteLLM proxy environment and could expose secrets available to the process. This issue is fixed in version 1.82.0-stable.

Does CVE-2026-59821 hit the version you run?Paste your docker-compose.yml, requirements.txt or package.json. The scanner checks your pinned versions against this CVE and every other one we track for LiteLLM.
Check my stack

What to do

  • Upgrade LiteLLM to 1.82.0 or later.
  • Do not expose the component's API or UI to the internet without authentication in front of it.

Sources

Read more

Other LiteLLM CVEs

All LiteLLM CVEs