CVE-2026-37004: a Template Engine · Improper Neutralization of Special Elements Used
Source CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Until an official fix is available, restrict access to the /prompts/test endpoint and avoid exposing the vulnerable service to untrusted networks. Monitor for unusual activity related to template rendering. Do not rely on generic mitigations as the vulnerability specifically involves unsandboxed template execution.
Description
BerriAI litellm versions up to 1.82.4 are vulnerable to a Server-Side Template Injection (SSTI) flaw. This vulnerability allows unauthenticated remote attackers to execute arbitrary operating system commands by sending a specially crafted dotprompt_content parameter to the /prompts/test endpoint. The root cause is the use of an unsandboxed jinja2.Environment for template rendering. The vulnerability has a critical severity with a CVSS score of 9.8.