CVEBrief

Home / BerriAI / LiteLLM / CVE-2026-40217

CVE-2026-40217: is it exploited, and which versions of BerriAI LiteLLM are affected and fixed?

CVE-2026-40217 is an unprotected alternate channel vulnerability in BerriAI LiteLLM, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 18, 2026, with a federal due date of December 2, 2026. Affected: litellm from 1.81.8 before 1.83.10 (GitHub advisory GHSA-wxxx-gvqv-xp7p). Fixed in 1.83.10 (GitHub advisory GHSA-wxxx-gvqv-xp7p). Severity: High (8.8, CVSS 3.1, from mitre).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:08 UTC, CVE record November 19, 2026, 18:05 UTC and NVD November 19, 2026, 18:04 UTC.

Exploited in the wild
Yes, CISA KEV
added November 18, 2026, due December 2, 2026
Affected
litellm from 1.81.8 before 1.83.10
GitHub advisory GHSA-wxxx-gvqv-xp7p
Fixed in
1.83.10
GitHub advisory GHSA-wxxx-gvqv-xp7p
Severity
High 8.8
CVSS 3.1 from mitre
Exploit odds (EPSS)
83.1% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

What is CVE-2026-40217?

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

From the CVE record by mitre, last updated November 19, 2026, 16:45 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
BerriAILiteLLMnot stated

As the CVE record by mitre states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIlitellm>= 1.81.8, < 1.83.101.83.10GHSA-wxxx-gvqv-xp7p

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 11, 2026. Summary: LiteLLM has a sandbox escape in custom-code guardrail.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
litellmlitellmfrom 1.81.8 before 1.83.10application
redhatansible automation platformfrom 2.0 before 2.6-9application
redhatopenshift aifrom 3.3 before 3.3.4application
redhatopenshift lightspeedall versionsapplication

NVD analysis (status Analyzed), last modified November 19, 2026, 17:18 UTC.

How severe is CVE-2026-40217?

ScoreVersionVectorSource
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hmitre
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2026-40217 exploited in the wild?

CISA KEV
Listed as BerriAI LiteLLM Unprotected Alternate Channel Vulnerability, added November 18, 2026; federal agencies must act by December 2, 2026
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.
Ransomware use
Unknown
CISA's summary
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 SSVC
Exploitation: active; automatable: no; technical impact: total (CISA ADP, November 19, 2026)
EPSS
83.1% probability of exploitation activity in the next 30 days, percentile 99.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 10, 2026
Published
April 10, 2026, 13:43 UTC
CVE record updated
November 19, 2026, 16:45 UTC by mitre
NVD
Analyzed, last modified November 19, 2026, 17:18 UTC
Last checked
CVE list November 19, 2026, 18:05 UTC; NVD November 19, 2026, 18:04 UTC; KEV December 3, 2026, 06:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect LiteLLM?

Every CVE in LiteLLM

Questions about CVE-2026-40217

Is CVE-2026-40217 exploited in the wild?

Yes. CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on November 18, 2026 and set federal agencies a due date of December 2, 2026. FIRST's EPSS gives it a 83.1% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of BerriAI LiteLLM are affected by CVE-2026-40217?

litellm from 1.81.8 before 1.83.10, per the GitHub advisory GHSA-wxxx-gvqv-xp7p. The tables above give every range the sources list.

Which version fixes CVE-2026-40217?

1.83.10, per the GitHub advisory GHSA-wxxx-gvqv-xp7p. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-40217?

High (8.8, CVSS 3.1, from mitre). The severity table above shows each score with its source.

Where is the official record of CVE-2026-40217?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.