Exploited vulnerabilities · BerriAI
CVE-2026-40217
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
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.
Description in the NVD
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Required action according to CISA
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.
What to do now
- Check your exposureFind out whether BerriAI LiteLLM runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
- github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
- nvd.nist.gov/vuln/detail/CVE-2026-40217
- github.com/BerriAI/litellm/releases/tag/v1.83.10-stable
- www.x41-dsec.de/lab/advisories/x41-2026-001-litellm
- github.com/advisories/GHSA-wxxx-gvqv-xp7p
- access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com/errata/RHSA-2026:30056
- nvd.nist.gov/vuln/detail/CVE-2026-40217
More exploited vulnerabilities in BerriAI products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.