{"cve":"CVE-2024-9606","nvd":{"published":"2025-03-20T10:15:49.443","modified":"2026-06-17T08:24:54.547","status":"Analyzed","description":"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_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-116","CWE-117"],"references":["https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a","https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a"],"products":["litellm:litellm"],"source":"nvd","synced_at":"2026-10-19T22:00:28.034033815+00:00"},"epss":{"cve":"CVE-2024-9606","score":0.00767,"percentile":0.55525,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g5pg-73fc-hjwq","url":"https://osv.dev/vulnerability/GHSA-g5pg-73fc-hjwq","summary":"LiteLLM Reveals Portion of API Key via a Logging File","modified":"2026-09-10T03:49:48.563145603Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<1.44.12"],"fixed":["1.44.12"]}]},{"id":"PYSEC-2026-1548","url":"https://osv.dev/vulnerability/PYSEC-2026-1548","summary":"LiteLLM Reveals Portion of API Key via a Logging File","modified":"2026-07-07T17:47:30.602678897Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<1.44.12"],"fixed":["1.44.12"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}