AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LiteLLMGHSA-6wvf-77m9-58rm

LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint

LiteLLM

CVE-2026-37004 · Published Aug 27, 2026 · updated Sep 10, 2026

Critical9.8
Fix: upgrade to 1.83.7 or later
GitHub advisory

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.

Affected versions

PackageAffectedFixed in
litellm
PyPI
< 1.83.71.83.7
Details and references

More LiteLLM advisories

All LiteLLM