Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0
- https://yerangamage.com/cves/detail/?slug=litellm-ssti-rce
FAQ
What is CVE-2026-37004?
CVE-2026-37004 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 paramete...
How severe is CVE-2026-37004?
CVE-2026-37004 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-37004?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.