High severity · published Mar 20, 2025
CVE-2024-9606
Improper Output Neutralization for Logs in berriai/litellm
7.5
CVSS
0.8%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 55% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BE
berriai/litellm · berriai
before 1.44.12 · source: vendor
LI
Litellm · Litellm
before 1.44.12 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-9606
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-9606
Patch
https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a
Exploit
https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a
More from berriai/litellm
9.8
CVE-2024-5751
Remote Code Execution in BerriAI/litellm
9.8
CVE-2024-4264
Remote Code Execution in berriai/litellm
9.8
CVE-2024-2952
Server-Side Template Injection in BerriAI/litellm
8.8
CVE-2024-6825
Remote Code Execution in BerriAI/litellm
8.1
CVE-2025-0628
Improper Authorization in BerriAI/litellm
