Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-37004: LiteLLM unauthenticated command execution via template injection

Identifier
CVE-2026-37004
Published
Record updated
View JSON
Affected
  • litellm < 1.83.7
Fixed in
1.83.7
  • released April 13, 2026, 136 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

BerriAI litellm versions up to and including 1.82.4 are vulnerable to Server-Side Template Injection (CVE-2026-37004). Unauthenticated remote attackers can execute arbitrary OS commands by sending a crafted dotprompt_content parameter to the /prompts/test endpoint, because the code uses an unsandboxed jinja2.Environment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.