| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| litellm | ≥ 1.81.8, < 1.83.10 | 1.83.10 |
| litellm | ≤ 2026-04-08 |
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.
Fixed in 1.83.11. The hand-rolled sandbox has been replaced with RestrictedPython. Upgrade to 1.83.11 or later.
If upgrading is not immediately possible, block POST /guardrails/test_custom_code at your reverse proxy or API gateway.
v1.83.10-stableこれらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン