Read the docs
TI-2024-05340 Aliases CVE-2024-5751GHSA-gppg-gqw8-wh9g

Remote Code Execution in BerriAI/litellm

Priority HIGH 82CWE-94Published · Updated

Key facts

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

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

BerriAI/litellm version v1.35.8 contains a vulnerability where an attacker can achieve remote code execution. The vulnerability exists in the `add_deployment` function, which decodes and decrypts environment variables from base64 and assigns them to `os.environ`. An attacker can exploit this by sending a malicious payload to the `/config/update` endpoint, which is then processed and executed by the server when the `get_secret` function is triggered. This requires the server to use Google KMS and a database to store a model.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00882 59th percentileScored 2026-11-07
Fix Fixed litellm (PyPI): 1.40.16

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

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/litellmup to latest—No fix listedCNA
—litellm (PyPI)before 1.40.161.40.16Patch availableGHSA-gppg-gqw8-wh9g
  • berriai/litellm VendorBerriAI Affected up to latest Fixed in — No fix listed CNA
  • litellm (PyPI) Vendor— Affected before 1.40.16 Fixed in 1.40.16 Patch available GHSA-gppg-gqw8-wh9g

CPE configurations NVD · 1

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

Remediation

  • Fix · GHSA-gppg-gqw8-wh9g litellm (PyPI) Fixed in 1.40.16 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-5751
  2. 2026-10-03 Alias added: GHSA-gppg-gqw8-wh9g

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-02760 Server-Side Template Injection in BerriAI/litellm CVSS 3.0CRITICAL 9.8
  • TI-2026-34701 LiteLLM < 1.83.10 Privilege Escalation via User Update CVSS 4.0HIGH 8.7
See all 36 →

Sources