Intel

AIKIDO-2025-10355

litellm is vulnerable to SQL Injection

SQL Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.

68

Medium Risk

This Affects:

pythonlitellm
1.40.3 - 1.67.2
Fixed in 1.67.4

TL;DR

Affected versions of this package are vulnerable to SQL injection in spend_management_endpoints.py, where user input is not properly sanitized before being used in SQL queries. This flaw may allow attackers to inject malicious SQL statements, potentially resulting in unauthorized data access, modification, or deletion.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

litellm is vulnerable to SQL Injection in versions 1.40.3 - 1.67.2.

How to fix this

Upgrade the litellm library to the patch version.

Background Info