Vulnerability
CVE-2026-37004
BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute arbitrary OS commands via a crafted dotprompt_content parameter in the /prompts/test endpoint due to use of an unsandboxed jinja2.Environment.
2 advisories report this vulnerability, across 1 ecosystem.
Advisories
-
GHSA-6wvf-77m9-58rm
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
-
PYSEC-2026-3861
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint