LIVE LOG · recorded complete source-check dates between October 14 and November 30, 2026; excludes entries with incomplete or unverified source checks · site updated Nov 12, 2026, 12:09 AM ET

← All incidents

LiteLLM /prompts/test server-side template injection allows unauthenticated command execution (CVE-2026-37004)

Vulnerability · litellm · CRITICAL

Incident date
DisclosedAug 27, 2026 (GitHub advisory)
Added hereNov 20, 3:35 PM ET
Last verifiedNov 20, 2026

Summary

Per the vendor advisory, LiteLLM has a server-side template injection in the /prompts/test endpoint. The advisory description states that for litellm up to and including 1.82.4, unauthenticated remote attackers can run arbitrary OS commands through a crafted dotprompt_content parameter. Separately, the advisory package table lists all litellm versions below 1.83.7 as vulnerable and 1.83.7 as patched.

Severity

CRITICAL CVSS score 9.8 rates Critical, matching the GitHub advisory.

Kit, our email provider, gets your address only to send the newsletter. Every email has an unsubscribe link. Privacy policy.

Timeline

  1. Aug 27, 2026
    GitHub advisory GHSA-6wvf-77m9-58rm for CVE-2026-37004 published. (per the vendor advisory)
  2. Sep 8, 2026
    Advisory updated. (per the vendor advisory)

How it happened

Per the vendor advisory, its description states that litellm up to and including 1.82.4 is affected: the /prompts/test endpoint uses an unsandboxed jinja2.Environment, and a crafted dotprompt_content parameter lets unauthenticated remote attackers execute arbitrary OS commands. The advisory package table separately lists all versions below 1.83.7 as vulnerable. The advisory does not state whether the exploitation details in the description apply to versions between 1.82.4 and 1.83.7.

How to check your app

Sources

Corrections and updates

None. Re-checked against every source on Nov 20, 2026.

Cite this entry
Title
LiteLLM /prompts/test server-side template injection allows unauthenticated command execution (CVE-2026-37004)
Added
Nov 20, 2026
URL
https://vibeincidents.com/incidents/litellm-cve-2026-37004/
Suggested citation
VibeIncidents. "LiteLLM /prompts/test server-side template injection allows unauthenticated command execution (CVE-2026-37004)." Nov 20, 2026. https://vibeincidents.com/incidents/litellm-cve-2026-37004/