CVE-2024-9606
highpriority · track · 30EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.9–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-g5pg-73fc-hjwqLiteLLM Reveals Portion of API Key via a Logging File2025-03-20ghsa · osvUS
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.
- PYSEC-2026-1548LiteLLM Reveals Portion of API Key via a Logging File2026-07-07vendor · osvUS
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.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509acnnvd
- https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223acnnvd
- https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509aenisa_euvd
- https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223aenisa_euvd
- https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509aPatchnvd
- https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223aExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan