Skip to main content
← All vulnerabilities
CVE-2026-37004PYSEC-2026-3861GHSA-6WVF-77M9-58RM

BerriAI litellm <=1.82.4 is vulnerable to Server-Side Template Injection (SSTI), which allows unauthenticated remote attackers to execute ar

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.83.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • litellmPyPI

    fixed in 1.83.7

References 2

GitHub · BerriAI/litellm

yerangamage.com