Live threats

All CVEs / berriai

CVE-2024-4264berriai/litellm

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
May 18, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

A remote code execution (RCE) vulnerability exists in the berriai/litellm project due to improper control of the generation of code when using the `eval` function unsafely in the `litellm.get_secret()` method. Specifically, when the server utilizes Google KMS, untrusted data is passed to the `eval` function without any sanitization. Attackers can exploit this vulnerability by injecting malicious values into environment variables through the `/config/update` endpoint, which allows for the update of settings in `proxy_server_config.yaml`.

Original NVD text.

What to do

  1. Apply the vendor's security update for berriai/litellm.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI litellm ≤ 1.28.11 no fixed version —
PyPI litellm ≤ 1.28.11 no fixed version —

Per OSV / GitHub Advisories (GHSA-7ggm-4rjg-594w, PYSEC-2026-1542). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.