InfoSecNexus briefing

CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

An editorial illustration of security exposure and access protection

Known exploitation makes this an urgent exposure review for teams running BerriAI LiteLLM.

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. CISA Known Exploited Vulnerabilities

Key facts

Verified source facts
Identifier CVE-2026-40217
Affected technology BerriAI LiteLLM
Severity and scoring authority CVSS 3.1 8.8 HIGH — CVE CNA: mitre
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness CWE-420 Unprotected Alternate Channel
Exploitation evidence Reported by the linked official source; review exposure immediately.
CISA remediation due date 2026-12-02 (covered US federal civilian agencies)
Primary record CVE CNA: mitre

Who is affected and which versions are fixed

Affected and fixed versions reported by the sources
Product or package Affected range / status Reported fix Source
BerriAI LiteLLM bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f (version type: custom) [affected] Not stated in this record CVE CNA: mitre
BerriAI LiteLLM Versions outside the explicitly listed ranges [unknown] Not stated in this record CVE CNA: mitre

Compare the exact product, branch, package, platform, and vendor status. An upstream version boundary is not proof that a distribution backport or appliance firmware is vulnerable or fixed.

How the vulnerability works

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

BerriAI LiteLLM belongs in an exploit-led queue only after the affected product is matched to a reachable asset and accountable owner.

How to check your systems

Confirm the affected version and reachable component, preserve useful telemetry, apply the publisher guidance, and record the evidence used to close the item.

Continue reading the full briefing.

Updates to this article

  1. Revised the article structure and source-backed analysis.

Keep the context

Get the next security briefing.

Security news and practical guidance, delivered by email.

Confirm by email. Unsubscribe any time. Privacy policy

Corrections and tips

Need to add context to this briefing?

Send corrections, security tips, source updates, or collaboration notes through the contact page so the editorial team can review them properly.

Contact InfoSecNexus