← News

LiteLLM: Remote code execution

Actively exploitedHighAI-generated2026-11-19

CVE
CVE-2026-40217
Severity
High (CVSS 8.8)
Attack conditions
Remotely, over the network · A regular user account is needed · No user action needed
Exploitation probability (EPSS)
78.0% (within 30 days; FIRST EPSS, 22 November 2026)
CISA due date
2 December 2026 (1 day left)

According to CISA, this vulnerability is exploited in attacks. CISA has asked US federal agencies to act by 2 December 2026 (1 day left).

Summary

BerriAI LiteLLM versions up to April 8, 2026 are vulnerable and allow attackers to run arbitrary code.

Who is affected

Vendor
BerriAI
Product
LiteLLM

Details

According to CISA, the LiteLLM product from BerriAI, released through April 8, 2026, contains an unprotected alternate channel vulnerability. The flaw can be triggered via the /guardrails/test_custom_code endpoint.

An attacker who exploits this issue can rewrite bytecode and execute any code of their choosing on the affected system.

According to CISA, this vulnerability is currently being actively exploited.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 10 April 2026 NVD record published
  • 18 November 2026 CISA added it to its list of exploited vulnerabilities (KEV)
  • 19 November 2026 This article was written
  • 2 December 2026 CISA's due date for US federal agencies