CVE-2024-5751: Rawdog · litellm vulnerable to remote code execution based on using eval unsafely
Affects rawdogSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical : upgrade to 0.1.6_7 as a priority.
Data as of 17 Nov 2026, 17:34 UTC
- Patch
- Available – fixed in 0.1.6_7
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Jun 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 16 Nov 2026.
What to do
Upgrade rawdog to 0.1.6_7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewrawdogpkg:brew/rawdogOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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.
References
- nvd.nist.gov/vuln/detail/CVE-2024-5751 (opens in a new tab)
- github.com/BerriAI/litellm/pull/4228 (opens in a new tab)
- github.com/BerriAI/litellm/commit/fcea4c22ad96b24436f196ae709f71932e84b0b8 (opens in a new tab)
- github.com/berriai/litellm (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-389.yaml (opens in a new tab)
- huntr.com/bounties/ae623c2f-b64b-4245-9ed4-f13a0a5824ce (opens in a new tab)
- pypi.org/project/litellm (opens in a new tab)