OSV 1.4.0 · github-reviewed · 修改于 2026-05-12 21:27
发布时间
2026-04-25 00:02
GitHub 审查时间
2026-04-25 00:02
NVD 发布时间
2026-05-08 12:16
源文件
advisories/github-reviewed/2026/04/GHSA-xqmj-j6mv-4862/GHSA-xqmj-j6mv-4862.json
The POST /prompts/test endpoint accepted user-supplied prompt templates and rendered them without sandboxing. A crafted template could run arbitrary code inside the LiteLLM Proxy process.
The endpoint only checks that the caller presents a valid proxy API key, so any authenticated user could reach it. Depending on how the proxy is deployed, this could expose secrets in the process environment (such as provider API keys or database credentials) and allow commands to be run on the host.
Proxy deployments running an affected version are in scope.
The issue is fixed in 1.83.7-stable. The fix switches the prompt template renderer to a sandboxed environment that blocks the attributes this attack relies on.
LiteLLM recommends upgrading to 1.83.7-stable or later.
If upgrading is not immediately possible:
POST /prompts/test at your reverse proxy or API gateway.