Vulnerability record · PyPI
PYSEC-2026-3861
Description
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.
Manual fix · PyPI
pip install --upgrade "litellm>=1.83.7"Sources