All vulnerabilities

Servers and applications

CVE-2024-5225

An SQL Injection vulnerability exists in the berriai/litellm repository, specifically within the `/global/spend/logs` endpoint. The vulnerability arises due to improper neutralization of special elements used in an SQL command. The affected code constructs an SQL query by concatenating an unvalidated `api_key` parameter directly into the query, making it susceptible to SQL Injection if the…

Severity
High 7.2
Published
6 Jun 2024
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Sources
NVD

Affected software

SoftwareAffected versions
LiteLLMServers and applications · cpe:a:litellm:litellm
  • Every version up to 1.40.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-5225
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-5225