CVE-2025-45809 SQL injection in n/a
Attackers can execute arbitrary commands via SQL injection in LiteLLM API endpoints, requiring an upgrade to secure the system.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-45809?
CVE-2025-45809 is a medium-severity SQL injection vulnerability in n/a, published on 3 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2025-45809?
It affects 1 product.
Products include Litellm Litellm.
How do I fix CVE-2025-45809?
No fix has been published for CVE-2025-45809 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-45809 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-45809 exists.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-cgmh-xxmq-hp46.