CVE-2024-9606 json
Improper Output Neutralization for Logs in berriai/litellm
published 2025-03-20 19 mo ago modified 2026-09-10 1 mo ago also GHSA-g5pg-73fc-hjwq , PYSEC-2026-1548 , EUVD-2025-6847
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
In berriai/litellm before version 1.44.12, the `litellm/litellm_core_utils/litellm_logging.py` file contains a vulnerability where the API key masking code only masks the first 5 characters of the key. This results in the leakage of almost the entire API key in the logs, exposing a significant amount of the secret key. The issue affects version v1.44.9.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.77% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.com https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | litellm | <1.44.12 |
1.44.12 |
Affected products
- berriai berriai/litellm
Classification
References
-
github.com
/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a
web, patch
-
huntr.com
/bounties/4a03796f-a8d4-4293-84ef-d3959456223a
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-9606
advisory
-
github.com
/BerriAI/litellm
package
-
pypi.org
/project/litellm
package
-
github.com
/advisories/GHSA-g5pg-73fc-hjwq
advisory
Sources
- CVE List CVE-2024-9606
- GitHub Advisory GHSA-g5pg-73fc-hjwq
- NVD CVE-2024-9606
- OSV PYSEC-2026-1548
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.