Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-45809: n/a

0
Medium
VulnerabilityCVE-2025-45809cvecve-2025-45809
Published: Thu Jul 03 2025 (07/03/2025, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/12/2026, 18:57:58 UTC

Technical Analysis

CVE-2025-45809 identifies an SQL Injection vulnerability in BerriAI LiteLLM versions prior to 1.81.0. The flaw exists in the handling of the 'key' parameter within the /key/block and /key/unblock API endpoints. An attacker can inject malicious SQL commands through this parameter, potentially leading to unauthorized data access or modification. The vulnerability arises from improper input validation and sanitization, allowing crafted input to alter SQL queries executed by the backend database. The CVSS 3.1 score of 5.4 reflects a medium severity, with an attack vector of network (remote), low attack complexity, no privileges required, but requiring user interaction. The impact primarily affects confidentiality and integrity, with no direct impact on availability. No patches are currently linked, and no known exploits have been reported in the wild as of the publication date. The vulnerability is classified under CWE-89, which covers SQL Injection issues. This vulnerability could be exploited by attackers to manipulate or exfiltrate sensitive data stored in the backend database, potentially compromising application security and user data privacy.

Potential Impact

The vulnerability could allow attackers to execute arbitrary SQL commands remotely without authentication, leading to unauthorized disclosure or modification of sensitive data. This compromises the confidentiality and integrity of the affected systems. While availability is not directly impacted, data manipulation could disrupt normal operations or lead to further exploitation. Organizations relying on BerriAI LiteLLM for AI or data processing services may face data breaches, loss of trust, and regulatory consequences. The absence of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits after public disclosure. The requirement for user interaction slightly limits exploitation but does not prevent targeted attacks. Overall, the vulnerability poses a moderate risk to organizations handling sensitive or regulated data using the affected software.

Mitigation Recommendations

Organizations should upgrade BerriAI LiteLLM to version 1.81.0 or later once available to ensure the vulnerability is patched. Until patches are released, implement strict input validation and sanitization on the 'key' parameter at the application or API gateway level to block SQL injection payloads. Employ Web Application Firewalls (WAFs) configured with rules to detect and block SQL injection attempts targeting the /key/block and /key/unblock endpoints. Monitor API logs for unusual or malformed requests to these endpoints and investigate suspicious activity promptly. Limit exposure by restricting access to these API endpoints to trusted networks or authenticated users where possible. Conduct regular security assessments and code reviews focusing on input handling to prevent similar vulnerabilities. Educate developers on secure coding practices to avoid injection flaws in future releases.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2025-04-22T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6866d1e86f40f0eb729ab742

Added to database: 7/3/2025, 6:54:32 PM

Last enriched: 3/12/2026, 6:57:58 PM

Last updated: 3/24/2026, 9:13:50 PM

Views: 106

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses