PYSEC-2026-3861

vendorUSosv

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

view advisory published 2026-09-10Licence: CC-BY-4.0

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.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2026-37004US——
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 dotpro…
02

references

External citations — patches, advisories, analysis.

scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan