همهٔ گزارش‌ها
زیاد

LiteLLM has a sandbox escape in custom-code guardrail

متن اصلی

نسخه‌های متأثر

بازه‌ها نیاز به بررسی دارند.

نسخه‌های متأثر
>= 1.81.8, < 1.83.10
نسخهٔ اصلاح‌شده
1.83.10
نسخه‌های متأثر
>=1.81.8 <1.83.10
نسخهٔ اصلاح‌شده
1.83.10
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-40217

بهره‌برداری واقعی گزارش شده است · CISA KEV

تاریخ ثبت: ۱۴۰۵/۰۸/۲۷

احتمال بهره‌برداری در ۳۰ روز آینده: 17.02%

FIRST EPSS · ۱۴۰۵/۰۸/۲۶

شرح آسیب‌پذیری

Impact

The POST /guardrails/test_custom_code endpoint runs user-supplied Python inside a hand-rolled sandbox. The sandbox can be escaped using bytecode-level techniques, allowing arbitrary code execution in the proxy process — which runs as root in the default Docker image.

Reaching the endpoint requires a proxy-admin credential in default configurations.

Patches

Fixed in 1.83.11. The hand-rolled sandbox has been replaced with RestrictedPython. Upgrade to 1.83.11 or later.

Workarounds

If upgrading is not immediately possible, block POST /guardrails/test_custom_code at your reverse proxy or API gateway.

References

پیوندها