CVE-2024-9606
published 2025-03-20CVE-2024-9606: 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…
PriorityP345high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
0.71%
48.8th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| berriai | berriai_litellm | >= unspecified < 1.44.12 | 1.44.12 |
| litellm | litellm | < 1.44.12 | 1.44.12 |
| litellm | litellm | >= 0 < 1.44.12 | 1.44.12 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
LiteLLM Reveals Portion of API Key via a Logging File
osv·2025-03-20
CVE-2024-9606 [HIGH] LiteLLM Reveals Portion of API Key via a Logging File
LiteLLM Reveals Portion of API Key via a Logging File
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.
GHSA
LiteLLM Reveals Portion of API Key via a Logging File
ghsa·2025-03-20
CVE-2024-9606 [HIGH] CWE-117 LiteLLM Reveals Portion of API Key via a Logging File
LiteLLM Reveals Portion of API Key via a Logging File
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-03-20
Published