7.2

CVE-2026-59821: berriai litellm Code Injection

CVSS: 7.2v3.1HighAnalyzed
AliasesGHSA-72m8-9m7m-h278PYSEC-2026-3478
Published 08-07-2026Last modified 09-07-2026

Vulnerability summary

CVE-2026-59821 is a high (CVSS 7.2) Code Injection vulnerability in berriai litellm. EPSS estimates a 0.90% chance of exploitation in the next 30 days, higher than 59.1% of scored vulnerabilities.

Overall risk
29/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
0.90%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 08-07-2026
    PublishedVulnerability first disclosed.
  2. 09-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.90%

Chance of exploitation in the next 30 days

Percentile

59%

Versus all other CVEs

30-day change

0.00 pp

From 0.90% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.90%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Berriai1 product
Litellm1 product
PyPI1 product
  • litellm< 1.82.0

3 vendors · 3 products

References

7 links