Known exploited vulnerability

CVE-2026-40217

highCVSS 3.1 8.8In CISA KEVEPSS 83%Published · BerriAI

The short answer

CVE-2026-40217 affects BerriAI LiteLLM and is rated high (CVSS 8.8). CISA added it to the Known Exploited Vulnerabilities catalog on 2026-11-18: attackers are using it, so patch it first. Fixed versions are published for litellm (1.83.10).

What it is

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

Weakness: CWE-420, CWE-94.

Severity

8.8 high

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Exploited (CISA KEV)

Yes, since Nov 18, 2026

Federal due date Dec 2, 2026

EPSS, next 30 days

83%

Higher than 100% of scored CVEs

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

What CISA says to do

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…

Affected packages and fixed versions

PackageEcosystemFixed inAdvisory
litellmPyPI1.83.10GHSA-wxxx-gvqv-xp7p

Is it in your code? Drop your lockfile into the free vulnerability check, or let vulnerability watch check your repository every day and open the upgrade as a pull request.

Affected products

LiteLLM, Red Hat Ansible Automation Platform 2.6, Red Hat OpenShift AI 3.3, Lightspeed Core, Red Hat OpenShift AI (RHOAI). NVD's record lists the exact affected versions.

References

Questions

Is CVE-2026-40217 being exploited?

Yes. CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on 2026-11-18, with a federal remediation due date of 2026-12-02.

How do I fix CVE-2026-40217?

Upgrade to a fixed version: litellm (PyPI) 1.83.10. CISA's 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…

From NVD, CISA KEV, FIRST EPSS and OSV.dev, checked . Status on NVD: Analyzed. The description is NVD's text, quoted as published.

Related

Newly exploited vulnerabilities, every Monday

What CISA added to its KEV catalog that week, and the Critical CVEs most likely to be exploited. One email a week, one click to stop.

Prefer a feed? RSS or markdown.

Know the day a CVE lands in your code

Connect a GitHub repository and ZeusQA checks its dependencies daily, briefs each advisory and opens the fix. Three test runs free, no card.