BerriAI LiteLLM flaw could enable remote code execution

  • unprotected alternate channel
  • bytecode rewriting risk
  • BerriAI LiteLLM
  • CVE-2026-40217
  • Code execution

BerriAI says its LiteLLM software contains an unprotected alternate channel vulnerability that could let remote attackers execute arbitrary code. The report gives no event date.

The vulnerability involves bytecode rewriting through the /guardrails/test_custom_code URI. The report does not specify affected versions or provide evidence that attackers have exploited it.

The notice advises stakeholders to follow the Cybersecurity and Infrastructure Security Agency’s (CISA) BOD 26-04 guidance when prioritizing security updates. It says organizations should assess each asset’s exposure to the internet and, if mitigations are unavailable, discontinue using the product.