Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
Versions of litellm before 1.40.0 are vulnerable to SQL injection through the /global/spend/logs endpoint, where the api_key parameter is concatenated into a SQL query without validation. The source does not state what access an attacker needs to send the request. An attacker who exploits it could read or change data, expose confidential information, or cause a denial of service. Upgrade litellm to version 1.40.0 or later.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 6.4 | Medium | 3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N | CNA (@huntr_ai) |
- CISA KEV Not listed.
- EPSS 0.0043, the 37th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:35 UTC First seen by agentprime
- 31 Oct 2026, 14:35 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-h6m6-jj8v-94jj
- OSV: GHSA-h6m6-jj8v-94jj
- nvd.nist.gov/vuln/detail/CVE-2024-5225
- github.com/BerriAI/litellm/pull/3940
- github.com/BerriAI/litellm/commit/f75c15d6cd535aa78014378ad532de1df6be2f56
- github.com/BerriAI/litellm
- huntr.com/bounties/491e4884-0306-4cd4-8fe2-9a19de33bf5c