| Component | LiteLLM |
| Severity | medium (CVSS 5.4) |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| Published (NVD) | 2025-07-03 |
| Last modified | 2026-06-17 |
| Affected versions | < 1.81.0 read from the advisory text: no structured source gives these versions yet |
| Fixed in | 1.81.0 |
| Weakness | CWE-89 |
| CISA KEV | not 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.0or later. - Do not expose the component's API or UI to the internet without authentication in front of it.
Sources
- NVD: CVE-2025-45809
- https://github.com/shadia0/Patienc/blob/main/litellm/SQL_injection.md
- https://huntr.com/bounties/3e6e4d40-b06a-4f54-a3ed-cc93584b12f3