{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-40217","id":"CVE-2026-40217","title":"LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrail…","description":"LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.","descriptionLong":"LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.","published":"2026-04-10T13:43:23.147Z","updated":"2026-11-18T21:17:58.927Z","reserved":"2026-04-10T13:43:22.641Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"mitre"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"mitre"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"mitre.org"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"redhat-SADP"}],"rating":"high","products":["BerriAI LiteLLM"],"affectedProducts":[{"vendor":"BerriAI","product":"LiteLLM","defaultStatus":"unknown","versions":[{"status":"affected","version":"bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-420","CWE-94"],"aliases":[],"references":[{"url":"https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/","tags":["Exploit","Mitigation","Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217","tags":["government-resource"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-40217","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457301","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:30056","tags":["vendor-advisory","x_refsource_REDHAT"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":true,"kevAdded":"2026-11-18","kevDue":"2026-12-02","kevEntry":{"cveID":"CVE-2026-40217","vendorProject":"BerriAI","product":"LiteLLM","vulnerabilityName":"BerriAI LiteLLM Unprotected Alternate Channel Vulnerability","dateAdded":"2026-11-18","shortDescription":"BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.","requiredAction":"Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.","dueDate":"2026-12-02","knownRansomwareCampaignUse":"Unknown","notes":"https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-40217","cwes":["CWE-420"]},"ssvc":{"exploitation":"active","automatable":"no","technicalImpact":"total"},"epss":0.1702,"epssPercentile":0.97134,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40217","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-40217","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2026-11-18"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-40217","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 17% with CVSS 8.8"],"attention":"Added to CISA KEV in the last 30 days"}