LiteLLMPublished 3 Jul 2025NVD status: Modified

CVE-2025-45809

SQL Injection vulnerability in BerriAI LiteLLM before 1.81.0 allows attackers to execute arbitrary commands via the key parameter to the "/key/block" and "/key/unblock" API endpoints.

ComponentLiteLLM
Severitymedium (CVSS 5.4)
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Published (NVD)2025-07-03
Last modified2026-06-17
Affected versions
< 1.81.0
read from the advisory text: no structured source gives these versions yet
Fixed in1.81.0
WeaknessCWE-89
CISA KEVnot listed

Versions, checked against NVD

NVD's analysis reads = 1.65.4. The ranges above are read from the advisory text: neither a GitHub-reviewed advisory nor the CVE record confirms them yet.

NVD description

SQL Injection vulnerability in BerriAI LiteLLM before 1.81.0 allows attackers to execute arbitrary commands via the key parameter to the "/key/block" and "/key/unblock" API endpoints.

What to do

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

Sources

Read more