CVE-2024-9606

published 20 Mar 2025 · updated 20 Mar 2025

Improper Output Neutralization for Logs in berriai/litellm

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in berriai/litellm 1.44.12.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
BerriAIberriai/litellm<1.44.121.44.12

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in BerriAI, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-9606 severity on Zeptric[![CVE-2024-9606](https://zeptric.io/badge/cve/CVE-2024-9606.svg)](https://zeptric.io/cve/CVE-2024-9606)