{"id":"CVE-2026-40217","aliases":[],"cve":{"records":[{"id":"CVE-2026-40217","source":"mitre","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-04-10T13:43:22.641Z","published":"2026-04-10T13:43:23.147Z","modified":"2026-11-19T16:45:39.567Z"}],"publishers":[{"name":"mitre","role":"CNA","organizationId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","modified":"2026-04-10T13:43:23.147Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-19T16:45:39.567Z"},{"name":"redhat-SADP","role":"ADP","organizationId":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c","modified":"2026-07-15T01:01:14.184Z"}],"references":[{"url":"https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/","tags":[],"source":"mitre"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217","tags":["government-resource"],"source":"CISA-ADP"},{"url":"https://access.redhat.com/security/cve/CVE-2026-40217","tags":["vdb-entry","x_refsource_REDHAT"],"source":"redhat-SADP"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457301","tags":["issue-tracking","x_refsource_REDHAT"],"source":"redhat-SADP"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json","tags":["x_sadp-csaf-vex"],"source":"redhat-SADP"},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","tags":["vendor-advisory","x_refsource_REDHAT"],"source":"redhat-SADP"},{"url":"https://access.redhat.com/errata/RHSA-2026:30056","tags":["vendor-advisory","x_refsource_REDHAT"],"source":"redhat-SADP"}],"weaknesses":[{"id":"CWE-420","description":"CWE-420 Unprotected Alternate Channel","source":"mitre"},{"id":"CWE-94","description":"Improper Control of Generation of Code ('Code Injection')","source":"redhat-SADP"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-19T04:55:16.960787Z","decisions":[{"name":"Exploitation","value":"active"},{"name":"Automatable","value":"no"},{"name":"Technical Impact","value":"total"}]}]},"title":"LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.","titleSource":"mitre","descriptionSource":"mitre","description":"LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.","score":8.8,"severity":"high","published":"2026-04-10T13:43:23.147Z","modified":"2026-11-19T16:45:39.567Z","withdrawn":false,"knownExploited":true,"affected":[],"products":[{"vendor":"BerriAI","name":"LiteLLM","platforms":[],"versions":[{"version":"bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f","status":"affected","versionType":"custom"}],"defaultStatus":"unknown","cpes":[],"source":"mitre","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"vendor":"Red Hat","name":"Red Hat Ansible Automation Platform 2.6","platforms":[],"versions":[{"version":"1780102732","status":"unaffected","lessThan":"*","versionType":"rpm"}],"defaultStatus":"affected","cpes":["cpe:/a:redhat:ansible_automation_platform:2.6::el9"],"source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"vendor":"Red Hat","name":"Red Hat OpenShift AI 3.3","platforms":[],"versions":[{"version":"1782310008","status":"unaffected","lessThan":"*","versionType":"rpm"}],"defaultStatus":"affected","cpes":["cpe:/a:redhat:openshift_ai:3.3::el9"],"source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"vendor":"Red Hat","name":"Lightspeed Core","platforms":[],"versions":[],"defaultStatus":"affected","cpes":["cpe:/a:redhat:lightspeed_core"],"source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"vendor":"Red Hat","name":"Red Hat OpenShift AI (RHOAI)","platforms":[],"versions":[],"defaultStatus":"unaffected","cpes":["cpe:/a:redhat:openshift_ai"],"source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"}],"remediation":[{"text":"RHSA-2026:24866: Red Hat Ansible Automation Platform 2.6","source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"text":"RHSA-2026:30056: Red Hat OpenShift AI 3.3","source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"},{"text":"Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.","source":"redhat-SADP","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"}],"references":["https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217","https://access.redhat.com/security/cve/CVE-2026-40217","https://bugzilla.redhat.com/show_bug.cgi?id=2457301","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json","https://access.redhat.com/errata/RHSA-2026:24866","https://access.redhat.com/errata/RHSA-2026:30056"],"sources":[{"name":"CVE","id":"CVE-2026-40217","modified":"2026-11-19T16:45:39.567Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"}],"assessments":[{"source":"mitre","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8},{"source":"redhat-SADP","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"sourceAffected":[],"observedAt":"2026-11-19T17:26:36.628Z","kev":{"status":"listed","checkedAt":"2026-11-28T23:10:31.542Z","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","forensicTriage":"No","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"]},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-18T21:10:35.666Z","attemptedAt":"2026-11-18T21:10:35.666Z"},{"source":"GHSA","status":"available","checkedAt":"2026-11-18T21:10:35.816Z","attemptedAt":"2026-11-18T21:10:35.816Z"},{"source":"EUVD","status":"available","checkedAt":"2026-11-18T21:10:36.412Z","attemptedAt":"2026-11-18T21:10:36.412Z"},{"source":"EPSS","status":"available","checkedAt":"2026-11-18T21:10:35.491Z","attemptedAt":"2026-11-18T21:10:35.491Z"}],"evidence":[{"source":"FIRST EPSS","id":"CVE-2026-40217","url":"https://www.first.org/epss/","probability":0.1702,"percentile":0.97134,"date":"2026-11-18","checkedAt":"2026-11-18T21:10:35.491Z"},{"source":"NVD","id":"CVE-2026-40217","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40217","modified":"2026-10-26T21:10:00.170","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T21:10:35.666Z"},{"source":"NVD","id":"CVE-2026-40217","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40217","modified":"2026-10-26T21:10:00.170","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T21:10:35.666Z"},{"source":"GitHub Advisory Database","id":"GHSA-wxxx-gvqv-xp7p","url":"https://github.com/advisories/GHSA-wxxx-gvqv-xp7p","modified":"2026-05-11T16:17:23Z","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T21:10:35.816Z"},{"source":"ENISA EUVD","id":"EUVD-2026-21376","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-21376","modified":"Jul 15, 2026, 1:01:14 AM","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","checkedAt":"2026-11-18T21:10:36.412Z"}],"aiSummary":{"text":"LiteLLM through 2026-04-08 may allow remote attackers to execute code via bytecode rewriting at the /guardrails/test_custom_code URI. The product and exact affected versions are specified. Required attacker access is not detailed.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-18T21:11:08.260Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-40217"}]}}