CVE-2026-37004

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductLitellm
PublishedAug 27, 2026
First seenAug 27, 2026
Weakness typeCWE-1336CWE-1336

How to fix

Update
  • litellm1.83.7 or later

Affected products

ProductAffected versionsFixed in
litellmPyPIv < 1.83.71.83.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.