{"schemaVersion":3,"id":"CVE-2024-9606","aliases":["GHSA-g5pg-73fc-hjwq","PYSEC-2026-1548"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-20T10:09:24.180Z","modified":"2025-03-20T18:55:27.073Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","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","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00767,"percentile":0.54768,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.014999999999999996,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00752},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00739,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00767,"percentile":0.54768}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00752,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00767,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00767,"percentile":0.54768}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_0D227C6843CE36D3","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-117","name":"Improper Output Neutralization for Logs","description":"The product constructs a log message from external input, but it does not neutralize or incorrectly neutralizes special elements when the message is written to a log file.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/117.html"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output","description":"The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/116.html"}],"affected":[{"vendor":"berriai","product":"berriai/litellm","name":"berriai/litellm","label":"berriai/litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 1.44.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 1.44.12","eol":null,"hubHref":"/vendor/berriai/berriailitellm"},{"vendor":"litellm","product":"litellm","name":"litellm","label":"litellm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.44.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.44.12","eol":null,"hubHref":"/vendor/litellm/litellm"},{"vendor":"PyPI","product":"litellm","name":"litellm","label":"litellm","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/litellm","purlType":"pypi","versions":[{"text":"< 1.44.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.44.12","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a","label":"huntr.com/bounties/4a03796f-a8d4-4293-84ef-d3959456223a","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a","label":"github.com/berriai/litellm/commit/9094071c4782183e84f10630e2450be3db55509a","hostname":"github.com","tags":["WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-9606","label":"nvd.nist.gov/vuln/detail/CVE-2024-9606","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/BerriAI/litellm","label":"github.com/BerriAI/litellm","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/litellm","label":"pypi.org/project/litellm","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-g5pg-73fc-hjwq","label":"github.com/advisories/GHSA-g5pg-73fc-hjwq","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-20T10:09:24.180Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-20T18:55:27.073Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:30:12.691Z","stale":false,"partial":false}}