Read the docs
TI-2024-08911 Aliases CVE-2024-9606GHSA-g5pg-73fc-hjwq

Improper Output Neutralization for Logs in berriai/litellm

Priority HIGH 72CWE-117Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00767 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed berriai/litellm (berriai): 1.44.12litellm (PyPI): 1.44.12

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
BerriAIberriai/litellmbefore 1.44.121.44.12Patch availableCNA
—litellm (PyPI)before 1.44.121.44.12Patch availableGHSA-g5pg-73fc-hjwq
  • berriai/litellm VendorBerriAI Affected before 1.44.12 Fixed in 1.44.12 Patch available CNA
  • litellm (PyPI) Vendor— Affected before 1.44.12 Fixed in 1.44.12 Patch available GHSA-g5pg-73fc-hjwq

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*before 1.44.12VulnerableBerriAI
  • cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* Versions before 1.44.12 Vulnerable ·BerriAI

Remediation

  • Fix · CNA berriai/litellm (berriai) Fixed in 1.44.12
  • Fix · GHSA-g5pg-73fc-hjwq litellm (PyPI) Fixed in 1.44.12 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-9606
  2. 2026-10-03 Alias added: GHSA-g5pg-73fc-hjwq

References

  • TI-2026-26015 Trivy ecosystem supply chain briefly compromised KEVCVSS 4.0CRITICAL 9.4
  • TI-2026-30529 LiteLLM: SQL injection in Proxy API key verification KEVCVSS 4.0CRITICAL 9.3
  • TI-2026-30582 LiteLLM: Authenticated command execution via MCP stdio test endpoints KEVCVSS 4.0HIGH 8.7
  • TI-2026-42639 LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback KEVCVSS 4.0HIGH 8.8
  • TI-2024-05340 Remote Code Execution in BerriAI/litellm CVSS 3.1CRITICAL 9.8
  • TI-2024-02760 Server-Side Template Injection in BerriAI/litellm CVSS 3.0CRITICAL 9.8
See all 36 →

Sources