CVE-2024-9606
HIGH 7.5CVSS 3.1LiteLLM 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.
- Published
- 20 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-116CWE-117
- Also known as
- GHSA-g5pg-73fc-hjwqPYSEC-2026-1548
- Sources
- NVDJSONOSV GHSA-g5pg-73fc-hjwqJSONOSV PYSEC-2026-1548JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | litellm | litellmcpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
< 1.44.12 | 1.44.12 |
| OSV | PyPI | litellm | < 1.44.12 | 1.44.12 |
References
- https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a · Patch, WEB
- https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-9606 · ADVISORY
- https://github.com/BerriAI/litellm · PACKAGE
- https://pypi.org/project/litellm · PACKAGE
- https://github.com/advisories/GHSA-g5pg-73fc-hjwq · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)