{"id":"CVE-2024-9606","aliases":["GHSA-g5pg-73fc-hjwq","PYSEC-2026-1548"],"url":"https://o3.security/vulnerability/CVE-2024-9606","summary":"Improper Output Neutralization for Logs in berriai/litellm","details":"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":"2025-03-20T10:09:24.180Z","modified":"2026-08-08T03:48:08.953967832Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"litellm","fixedVersion":"1.44.12"}],"fix":{"url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a","label":"berriai/litellm@9094071"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9606.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9606"},{"type":"FIX","url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-08T03:48:08.953967832Z"}}