{"id":"CVE-2024-9606","aliases":["CVE-2024-9606","GHSA-g5pg-73fc-hjwq","PYSEC-2026-1548"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Output Neutralization for Logs in berriai/litellm","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En berriai/litellm anteriores a la versión 1.44.12, el archivo `litellm/litellm_core_utils/litellm_logging.py` contiene una vulnerabilidad donde el código de enmascaramiento de la clave API solo enmascara los primeros 5 caracteres de la clave. Esto provoca la filtración de casi toda la clave API en los registros, exponiendo una cantidad significativa de la clave secreta. El problema afecta a la versión v1.44.9.","source":"nvd"}],"published":"2025-03-20T10:09:24.180Z","modified":"2026-09-10T03:49:48.563Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-116","CWE-117"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"1.44.12","status":"affected"}],"vendor":"berriai","product":"berriai/litellm","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.44.12"}],"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.44.12"}],"vendor":"litellm","product":"litellm","cpe":"cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.44.12"}],"ecosystem":"PyPI","package":"litellm","purl":"pkg:pypi/litellm","source":"pysec"}],"references":[{"url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9606","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/BerriAI/litellm","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/litellm","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-g5pg-73fc-hjwq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-03-20T17:53:55.986Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-9606","url":"https://www.cve.org/CVERecord?id=CVE-2024-9606","licence":"CVE Terms of Use","modified":"2025-03-20T18:55:27.073Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g5pg-73fc-hjwq","url":"https://github.com/advisories/GHSA-g5pg-73fc-hjwq","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:48.563Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-9606","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9606","licence":"Public domain","modified":"2026-06-17T08:24:54.547Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1548","url":"https://osv.dev/vulnerability/PYSEC-2026-1548","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:30.602Z"}],"updatedAt":"2026-11-25T22:58:52.414Z","epss":{"score":0.00767,"percentile":0.56758,"date":"2026-12-02T12:00:21.000Z"}}