| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| litellm | < 1.82.0 | 1.82.0 |
| litellm | = 1.82.0< 1.82.0 | 1.82.0 |
LiteLLM's Custom Code Guardrails production create/update paths did not apply the same sandboxing and validation used by the test endpoint.
A privileged user with access to create or update guardrails could submit custom Python code that executed in the LiteLLM proxy environment. In deployments without a configured master key, callers could be treated as proxy administrators, making this reachable without intended administrative authorization.
This could allow arbitrary code execution in the LiteLLM proxy container and exposure of secrets available to the process.
The issue is fixed in 1.82.0-stable.
LiteLLM recommend upgrading to 1.82.0-stable or later.
If upgrading is not immediately possible:
POST /guardrails and PUT /guardrails/{guardrail_id} to trusted administrators only.LITELLM_MASTER_KEY is configured.これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン