SQL injection in litellm
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 api_key contains malicious data. This issue affects the latest version of the repository. Successful exploitation of this vulnerability could lead to unauthorized access, data manipulation, exposure of confidential information, and denial of service (DoS).
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | litellm | < 1.40.0 | 1.40.0 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2024-5225
- https://github.com/BerriAI/litellm/pull/3940
- https://github.com/BerriAI/litellm/commit/f75c15d6cd535aa78014378ad532de1df6be2f56
- https://github.com/BerriAI/litellm
- https://huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5c
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-h6m6-jj8v-94jj
- CVSS-Vektor
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N- Schwäche (CWE)
CWE-89- Plattform
- Python (PyPI)
- Paket
litellm- Veröffentlicht
- 06.06.2024
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-1550 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-h6m6-jj8v-94jj - CC BY 4.0
Schwachstellenhistorie: litellm
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 42
- Erste → letzte
- 04.2024 09.2026
- Ohne Fix
- 14
- In Angriffen ausgenutzt
- 3
Verteilung nach Schweregrad
- Kritisch 7
- Hoch 17
- Mittel 8
- Niedrig 9
- Nicht bewertet 1
Veröffentlichungen pro Jahr
- 2024: 8
- 2025: 6
- 2026: 28
-
SQL injection in litellm dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.