SQL Injection Affecting litellm package, versions [,1.67.4.dev1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-LITELLM-10300818
  • published4 Jun 2025
  • disclosed1 May 2025
  • creditUnknown

Introduced: 1 May 2025

CVE NOT AVAILABLE CWE-89  (opens in a new tab)

How to fix?

Upgrade litellm to version 1.67.4.dev1 or higher.

Overview

litellm is a Library to easily interface with LLM API providers

Affected versions of this package are vulnerable to SQL Injection via spend_management_endpoints.py. An attacker could potentially inject malicious SQL code through unsanitized input, leading to unauthorized data access or manipulation.

CVSS Base Scores

version 4.0
version 3.1