CVE Details

CVE-2026-40217 BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Published: 2026-11-18 CVSS: 8.8 HIGH Product: BerriAI LiteLLM Due Date: 2026-12-02

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.

GitHub PoC

Warning: GitHub PoC repositories are unverified. Some may be fake or contain malware. Use caution and review code before running anything.
  • HORKimhab/CVE-LiteLLM • ⭐ 0 • 2026-06-16 • Conf: 95.0%
  • CVE-2026-47101, CVE-2026-47102, CVE-2026-40217

FIRST EPSS

EPSS estimates the probability of exploitation in the next 30 days. Higher values indicate higher likelihood of real-world exploitation.

Timeline

CVE Stalker KEV MITRE GitHub FIRST (EPSS)

MITRE

CVSS

  • Score: 8.8
  • Severity: HIGH
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

SSVC

  • Exploitation: poc
  • Automatable: no
  • Technical Impact: total

References

Show Raw Data
Key Remaining Key Value
dataType CVE_RECORD
dataVersion 5.2
cveMetadata > cveId CVE-2026-40217
cveMetadata > assignerOrgId 8254265b-2729-46b6-b9e3-3dfca2d5bfca
cveMetadata > state PUBLISHED
cveMetadata > assignerShortName mitre
cveMetadata > dateReserved 2026-04-10T13:43:22.641Z
cveMetadata > datePublished 2026-04-10T13:43:23.147Z
cveMetadata > dateUpdated 2026-07-15T01:01:14.184Z
containers > cna > affected > 0 > defaultStatus unknown
containers > cna > affected > 0 > product LiteLLM
containers > cna > affected > 0 > vendor BerriAI
containers > cna > affected > 0 > versions > 0 > status affected
containers > cna > affected > 0 > versions > 0 > version bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
containers > cna > affected > 0 > versions > 0 > versionType custom
containers > cna > descriptions > 0 > lang en
containers > cna > descriptions > 0 > value LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
containers > cna > metrics > 0 > cvssV3_1 > attackComplexity LOW
containers > cna > metrics > 0 > cvssV3_1 > attackVector NETWORK
containers > cna > metrics > 0 > cvssV3_1 > availabilityImpact HIGH
containers > cna > metrics > 0 > cvssV3_1 > baseScore 8.8
containers > cna > metrics > 0 > cvssV3_1 > baseSeverity HIGH
containers > cna > metrics > 0 > cvssV3_1 > confidentialityImpact HIGH
containers > cna > metrics > 0 > cvssV3_1 > integrityImpact HIGH
containers > cna > metrics > 0 > cvssV3_1 > privilegesRequired LOW
containers > cna > metrics > 0 > cvssV3_1 > scope UNCHANGED
containers > cna > metrics > 0 > cvssV3_1 > userInteraction NONE
containers > cna > metrics > 0 > cvssV3_1 > vectorString CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
containers > cna > metrics > 0 > cvssV3_1 > version 3.1
containers > cna > metrics > 0 > format CVSS
containers > cna > metrics > 0 > scenarios > 0 > lang en
containers > cna > metrics > 0 > scenarios > 0 > value GENERAL
containers > cna > problemTypes > 0 > descriptions > 0 > cweId CWE-420
containers > cna > problemTypes > 0 > descriptions > 0 > description CWE-420 Unprotected Alternate Channel
containers > cna > problemTypes > 0 > descriptions > 0 > lang en
containers > cna > problemTypes > 0 > descriptions > 0 > type CWE
containers > cna > providerMetadata > orgId 8254265b-2729-46b6-b9e3-3dfca2d5bfca
containers > cna > providerMetadata > shortName mitre
containers > cna > providerMetadata > dateUpdated 2026-04-10T13:43:23.147Z
containers > cna > references > 0 > url https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
containers > cna > x_generator > engine CVE-Request-form 0.0.1
containers > adp > 0 > metrics > 0 > other > type ssvc
containers > adp > 0 > metrics > 0 > other > content > timestamp 2026-06-15T00:00:00+00:00
containers > adp > 0 > metrics > 0 > other > content > options > 0 > Exploitation poc
containers > adp > 0 > metrics > 0 > other > content > options > 1 > Automatable no
containers > adp > 0 > metrics > 0 > other > content > options > 2 > Technical Impact total
containers > adp > 0 > metrics > 0 > other > content > role CISA Coordinator
containers > adp > 0 > metrics > 0 > other > content > version 2.0.3
containers > adp > 0 > metrics > 0 > other > content > id CVE-2026-40217
containers > adp > 0 > title CISA ADP Vulnrichment
containers > adp > 0 > providerMetadata > orgId 134c704f-9b21-4f2e-91b3-4a467353bcc0
containers > adp > 0 > providerMetadata > shortName CISA-ADP
containers > adp > 0 > providerMetadata > dateUpdated 2026-06-16T03:56:08.739Z
containers > adp > 1 > affected > 0 > collectionURL https://catalog.redhat.com/software/containers/
containers > adp > 1 > affected > 0 > cpes > 0 cpe:/a:redhat:ansible_automation_platform:2.6::el9
containers > adp > 1 > affected > 0 > defaultStatus affected
containers > adp > 1 > affected > 0 > packageName ansible-automation-platform-26/lightspeed-chatbot-rhel9
containers > adp > 1 > affected > 0 > product Red Hat Ansible Automation Platform 2.6
containers > adp > 1 > affected > 0 > vendor Red Hat
containers > adp > 1 > affected > 0 > versions > 0 > lessThan *
containers > adp > 1 > affected > 0 > versions > 0 > status unaffected
containers > adp > 1 > affected > 0 > versions > 0 > version 1780102732
containers > adp > 1 > affected > 0 > versions > 0 > versionType rpm
containers > adp > 1 > affected > 1 > collectionURL https://catalog.redhat.com/software/containers/
containers > adp > 1 > affected > 1 > cpes > 0 cpe:/a:redhat:openshift_ai:3.3::el9
containers > adp > 1 > affected > 1 > defaultStatus affected
containers > adp > 1 > affected > 1 > packageName rhoai/odh-llama-stack-core-rhel9
containers > adp > 1 > affected > 1 > product Red Hat OpenShift AI 3.3
containers > adp > 1 > affected > 1 > vendor Red Hat
containers > adp > 1 > affected > 1 > versions > 0 > lessThan *
containers > adp > 1 > affected > 1 > versions > 0 > status unaffected
containers > adp > 1 > affected > 1 > versions > 0 > version 1782310008
containers > adp > 1 > affected > 1 > versions > 0 > versionType rpm
containers > adp > 1 > affected > 2 > collectionURL https://access.redhat.com/downloads/content/package-browser/
containers > adp > 1 > affected > 2 > cpes > 0 cpe:/a:redhat:lightspeed_core
containers > adp > 1 > affected > 2 > defaultStatus affected
containers > adp > 1 > affected > 2 > packageName redhat-user-workloads/lightspeed-stack
containers > adp > 1 > affected > 2 > product Lightspeed Core
containers > adp > 1 > affected > 2 > vendor Red Hat
containers > adp > 1 > affected > 3 > collectionURL https://access.redhat.com/downloads/content/package-browser/
containers > adp > 1 > affected > 3 > cpes > 0 cpe:/a:redhat:openshift_ai
containers > adp > 1 > affected > 3 > defaultStatus unaffected
containers > adp > 1 > affected > 3 > packageName rhoai/odh-mlflow-rhel9
containers > adp > 1 > affected > 3 > product Red Hat OpenShift AI (RHOAI)
containers > adp > 1 > affected > 3 > vendor Red Hat
containers > adp > 1 > datePublic 2026-04-10T13:43:23.147Z
containers > adp > 1 > descriptions > 0 > lang en
containers > adp > 1 > descriptions > 0 > value A flaw was found in LiteLLM. A remote attacker can exploit this flaw by performing bytecode rewriting at the `/guardrails/test_custom_code` URI. This could lead to arbitrary code execution, allowing the attacker to run malicious code on the affected system.
containers > adp > 1 > metrics > 0 > other > content > namespace https://access.redhat.com/security/updates/classification/
containers > adp > 1 > metrics > 0 > other > content > value Important
containers > adp > 1 > metrics > 0 > other > type Red Hat severity rating
containers > adp > 1 > metrics > 1 > cvssV3_1 > attackComplexity LOW
containers > adp > 1 > metrics > 1 > cvssV3_1 > attackVector NETWORK
containers > adp > 1 > metrics > 1 > cvssV3_1 > availabilityImpact HIGH
containers > adp > 1 > metrics > 1 > cvssV3_1 > baseScore 8.8
containers > adp > 1 > metrics > 1 > cvssV3_1 > baseSeverity HIGH
containers > adp > 1 > metrics > 1 > cvssV3_1 > confidentialityImpact HIGH
containers > adp > 1 > metrics > 1 > cvssV3_1 > integrityImpact HIGH
containers > adp > 1 > metrics > 1 > cvssV3_1 > privilegesRequired LOW
containers > adp > 1 > metrics > 1 > cvssV3_1 > scope UNCHANGED
containers > adp > 1 > metrics > 1 > cvssV3_1 > userInteraction NONE
containers > adp > 1 > metrics > 1 > cvssV3_1 > vectorString CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
containers > adp > 1 > metrics > 1 > cvssV3_1 > version 3.1
containers > adp > 1 > metrics > 1 > format CVSS
containers > adp > 1 > problemTypes > 0 > descriptions > 0 > cweId CWE-94
containers > adp > 1 > problemTypes > 0 > descriptions > 0 > description Improper Control of Generation of Code ('Code Injection')
containers > adp > 1 > problemTypes > 0 > descriptions > 0 > lang en
containers > adp > 1 > problemTypes > 0 > descriptions > 0 > type CWE
containers > adp > 1 > references > 0 > tags > 0 vdb-entry
containers > adp > 1 > references > 0 > tags > 1 x_refsource_REDHAT
containers > adp > 1 > references > 0 > url https://access.redhat.com/security/cve/CVE-2026-40217
containers > adp > 1 > references > 1 > name RHBZ#2457301
containers > adp > 1 > references > 1 > tags > 0 issue-tracking
containers > adp > 1 > references > 1 > tags > 1 x_refsource_REDHAT
containers > adp > 1 > references > 1 > url https://bugzilla.redhat.com/show_bug.cgi?id=2457301
containers > adp > 1 > references > 2 > tags > 0 x_sadp-csaf-vex
containers > adp > 1 > references > 2 > url https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json
containers > adp > 1 > references > 3 > tags > 0 vendor-advisory
containers > adp > 1 > references > 3 > tags > 1 x_refsource_REDHAT
containers > adp > 1 > references > 3 > url https://access.redhat.com/errata/RHSA-2026:24866
containers > adp > 1 > references > 4 > tags > 0 vendor-advisory
containers > adp > 1 > references > 4 > tags > 1 x_refsource_REDHAT
containers > adp > 1 > references > 4 > url https://access.redhat.com/errata/RHSA-2026:30056
containers > adp > 1 > solutions > 0 > lang en
containers > adp > 1 > solutions > 0 > value RHSA-2026:24866: Red Hat Ansible Automation Platform 2.6
containers > adp > 1 > solutions > 1 > lang en
containers > adp > 1 > solutions > 1 > value RHSA-2026:30056: Red Hat OpenShift AI 3.3
containers > adp > 1 > timeline > 0 > lang en
containers > adp > 1 > timeline > 0 > time 2026-04-10T15:01:29.063Z
containers > adp > 1 > timeline > 0 > value Reported to Red Hat.
containers > adp > 1 > timeline > 1 > lang en
containers > adp > 1 > timeline > 1 > time 2026-04-10T13:43:23.147Z
containers > adp > 1 > timeline > 1 > value Made public.
containers > adp > 1 > title LiteLLM: LiteLLM: Arbitrary Code Execution via bytecode rewriting
containers > adp > 1 > workarounds > 0 > lang en
containers > adp > 1 > workarounds > 0 > value 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.
containers > adp > 1 > x_adpType supplier
containers > adp > 1 > x_generator > engine sadp-cli 1.0.0
containers > adp > 1 > providerMetadata > orgId 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
containers > adp > 1 > providerMetadata > shortName redhat-SADP
containers > adp > 1 > providerMetadata > dateUpdated 2026-07-15T01:01:14.184Z