Critical severity9.8NVD Advisory· Published Aug 27, 2026· Updated Sep 1, 2026
CVE-2026-37004
CVE-2026-37004
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
litellmPyPI | < 1.83.7 | 1.83.7 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-6wvf-77m9-58rmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-37004ghsaADVISORY
- github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/prompts/prompt_endpoints.pynvdWEB
- github.com/BerriAI/litellm/commit/d910a95661fce3cdd36f3b06c03ecf9c46c6457cghsaWEB
- github.com/BerriAI/litellm/releases/tag/v1.83.7-stableghsaWEB
- yerangamage.com/cves/detail/nvdWEB
News mentions
0No linked articles in our index yet.