PT-2026-31920

CVE-2026-40217

·

Published

2026-02-19

·

Updated

2026-10-27

Description by

CVSS 2.0
9.0
High
MetricsAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions LiteLLM versions prior to 1.83.11
Description A flaw in the proxy server allows remote attackers to execute arbitrary code via bytecode rewriting. The issue exists because the POST /guardrails/test custom code endpoint runs user-supplied Python within a custom sandbox that can be escaped using bytecode-level techniques. This allows the execution of malicious code within the proxy process, which typically runs as root in the default Docker image. In default configurations, accessing this endpoint requires proxy-admin credentials.
Recommendations Update to version 1.83.11 or later. As a temporary workaround, block the POST /guardrails/test custom code endpoint at the reverse proxy or API gateway.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-3926-2JVF-FG29
GHSA-WXXX-GVQV-XP7P
CLEANSTART-2026-AZ09261
CLEANSTART-2026-HP19968
CLEANSTART-2026-IM10707
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
ECHO-C6D4-CF5F-A050
PYSEC-2026-2601
Found an issue in the description? Have something to add? Feel free to write us 👾