LiteLLM Security Update Advisory (CVE-2026-40217)

LiteLLM Security Update Advisory (CVE-2026-40217)

Overview

A security update addressing vulnerabilities in LiteLLM has been released. Users of this product should update to the latest version.

Affected Products

  • LiteLLM version 1.81.8 or later, but earlier than 1.83.10.

Resolved Vulnerabilities

  • CVE-2026-40217. – This is a sandbox escape vulnerability (a vulnerability that allows an attacker to escape the isolated execution environment) in LiteLLM’s custom code testing API (/guardrails/testcustomcode).

Response

  • The latest update includes the Vulnerability Patch. – Follow the instructions on the reference site to update LiteLLM to version 1.83.10 or later.

Note

  • [1] Guardrail Sandbox Escape in LiteLLM.
  • [2] Sandbox escape in custom-code guardrail.
  • [3] v1.83.10-stable.