CVE-2026-37004: Vulnerability in litellm

Critical. 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.

PyPI, CWE-1336

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6wvf-77m9-58rm
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-1336
Published
27 Aug 2026
Last change
8 Sept 2026
Ecosystem
PyPI

Affected packages

Vulnerable version ranges and fixed releases

  • litellm PyPI, Affected before 1.83.7. Fixed in 1.83.7

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes