CVE-2026-37004
BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/pro
- yerangamage.com/cves/detail/?slug=litellm-ssti-rce
- nvd.nist.gov/vuln/detail/CVE-2026-37004
- github.com/BerriAI/litellm/commit/d910a95661fce3cdd36f3b06c03ecf9c46c6457c
- github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
- github.com/advisories/GHSA-6wvf-77m9-58rm
- nvd.nist.gov/vuln/detail/CVE-2026-37004
- cve.org/CVERecord?id=CVE-2026-37004
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.