# CVE-2024-9606: Improper Output Neutralization for Logs in berriai/litellm

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-03-20 · Modified: 2025-03-20
- Aliases: GHSA-g5pg-73fc-hjwq, PYSEC-2026-1548
- Record: https://cvemate.com/vulnerability/CVE-2024-9606 · JSON: https://cvemate.com/vulnerability/CVE-2024-9606/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.0, CVE.org) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.767%, percentile 56.88%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- berriai berriai/litellm: ≥ unspecified, \< 1.44.12
- litellm litellm: \< 1.44.12
- PyPI litellm (PyPI): \< 1.44.12

## References

- <https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a>
- <https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-9606>
- <https://github.com/BerriAI/litellm>
- <https://pypi.org/project/litellm>
- <https://github.com/advisories/GHSA-g5pg-73fc-hjwq>

---

Data as of 2026-12-05T13:05:48.191Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
