Advisory record · GHSA-gppg-gqw8-wh9g

litellm vulnerable to remote code execution based on using eval unsafely

CVSS 9.8 CriticalCriticalEPSS 0.0088 · 59th percentile

Critical, because:

  • CVSS score 9.8: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 27 Jun 2024, 21:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
litellmPyPI<1.40.161.40.16
Identifiers
GHSA-gppg-gqw8-wh9g · CVE-2024-5751 · PYSEC-2026-389
Weakness (CWE)
CWE-94
Published
27 Jun 2024
Updated
16 Nov 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

litellm versions before 1.40.16 are vulnerable to remote code execution through unsafe use of eval. The source describes an attacker sending a crafted request to the config update endpoint, and the server then executing it; this requires the server to use Google KMS and a database to store a model. Upgrade litellm to version 1.40.16 or later.

Written 5 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
9.8 Critical 3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CNA (@huntr_ai)
  • CISA KEV Not listed.
  • EPSS 0.0088, the 59th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 27 Jun 2024, 21:32 UTC Confirmed by GitHub Advisory Database
  2. 31 Oct 2026, 14:35 UTC First seen by agentprime
  3. 31 Oct 2026, 14:35 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.