Vulnerability record

CVE-2026-40217

BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

Severity: HighExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run LiteLLM, fix it now.

CISA required action: 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.

US federal civilian agencies must remediate by Dec 2, 2026.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

Description

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorSource
LiteLLMBerriAIKEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog. Version details have not been published yet.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2026-40217 scored CVSS 8.8: BerriAI LiteLLM, BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

    CISA lists this as exploited in the wild. Unpatched LiteLLM systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

  2. Added to CISA KEV

    CVE-2026-40217 added to CISA KEV: BerriAI LiteLLM, BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

    CISA lists this as exploited in the wild. Unpatched LiteLLM systems are exposed to active attacks now.

    Basis: CISA Known Exploited Vulnerabilities catalog

Coverage

Severity: CriticalAction: Act nowExploitation: ExploitedCISA KEV

Synology DiskStation Manager (DSM) Improper Encoding or Escaping of Output Vulnerability (CVE-2024-10441) is being actively exploited, CISA warns

Why it matters

CISA lists this as exploited in the wild. Unpatched DiskStation Manager (DSM) and LiteLLM systems are exposed to active attacks now.

Act now

Treat this as an emergency.

References

  • github.com https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
  • cisa.gov https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-ba…
  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-40217
  • x41-dsec.de https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
  • access.redhat.com https://access.redhat.com/errata/RHSA-2026:24866
  • access.redhat.com https://access.redhat.com/errata/RHSA-2026:30056
  • access.redhat.com https://access.redhat.com/security/cve/CVE-2026-40217
  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2457301
  • security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json