Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
LiteLLM: Server-Side Template Injection in /prompts/test endpoint
Vulnerability Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.80.5 to before version 1.83.7, 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. This issue has been patched in version 1.83.7.
CVSS Information
N/A
Vulnerability Type
CWE-1336
Vulnerability Title
LiteLLM 安全漏洞
Vulnerability Description
LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 1.80.5版本至1.83.7之前版本存在安全漏洞,该漏洞源于POST /prompts/test端点接受用户提供的提示模板且无沙箱渲染,可能导致特制模板在LiteLLM代理进程中运行任意代码,任何拥有有效代理API密钥的认证用户均可利用,可能暴露进程环境中的秘密并允许在主机上运行命令。
CVSS Information
N/A
Vulnerability Type
N/A