Skip to main content
← All vulnerabilities
CVE-2024-4264GHSA-7GGM-4RJG-594WPYSEC-2026-1542

Remote Code Execution in berriai/litellm

Published
Last modified
published
Not listed in CISA KEV
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • berriai berriai/litellm

    Version range not reported

  • litellmPyPI

    through 1.28.11

  • litellmPyPI

    through 1.28.11

References 1

huntr.com