{"cve":"CVE-2024-4264","nvd":{"published":"2024-05-18T00:15:07.777","modified":"2026-06-17T08:01:33.520","status":"Deferred","description":"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`.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61","https://huntr.com/bounties/a3221b0c-6e25-4295-ab0f-042997e8fc61"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-4264","score":0.00883,"percentile":0.59204,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7ggm-4rjg-594w","url":"https://osv.dev/vulnerability/GHSA-7ggm-4rjg-594w","summary":"litellm passes untrusted data to `eval` function without sanitization","modified":"2026-09-10T03:50:13.427652069Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.28.11"],"fixed":[]}]},{"id":"PYSEC-2026-1542","url":"https://osv.dev/vulnerability/PYSEC-2026-1542","summary":"litellm passes untrusted data to `eval` function without sanitization","modified":"2026-07-07T17:46:52.809734083Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<=1.28.11"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}