{"data":{"id":"a8502e1e-f504-4d17-9891-d8e29d740780","title":"GHSA-gppg-gqw8-wh9g: litellm vulnerable to remote code execution based on using eval unsafely","summary":"BerriAI/litellm version v1.35.8 contains a flaw that allows remote code execution. The `add_deployment` function decodes and decrypts base64 environment variables and assigns them to `os.environ`, and an attacker can send a malicious payload to the `/config/update` endpoint, which the server processes and executes when `get_secret` is triggered. Exploitation requires the server to use Google KMS and a database to store a model.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-gppg-gqw8-wh9g","publishedAt":"2024-06-27T21:32:08.000Z","cveId":"CVE-2024-5751","cweIds":["CWE-94"],"cvssScore":"9.8","cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["litellm@< 1.40.16 (fixed: 1.40.16)"],"affectedPackageNames":["litellm"],"affectedPackageRefs":["pypi:litellm"],"affectedVendors":[],"affectedVendorsRaw":["LiteLLM"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"none","exploitMaturity":"unknown","epssScore":0.00882,"epssCheckedAt":"2026-10-10T04:57:09.742Z","kevDateAdded":null,"advisoryAliases":["GHSA-gppg-gqw8-wh9g"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2024-06-27T21:32:08.000Z","capecIds":["CAPEC-242"],"crossRefCount":0,"attackSophistication":"advanced","impactType":["confidentiality","integrity"],"aiComponentTargeted":"api","llmSpecific":true,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null}}