litellm
Affected
- introduced
0, fixed1.83.7(ecosystem)
Fixed versions
1.83.7
Fix
- Fixed version
1.83.7pip install --upgrade litellm==1.83.7
Advisory
Also known as: CVE-2026-37004, PYSEC-2026-3861
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.83.7 (ecosystem)1.83.7
1.83.7pip install --upgrade litellm==1.83.7Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0