Home / CVE-2026-37004
CVE-2026-37004: is it exploited, and which versions of litellm are affected and fixed?
CVE-2026-37004 is a template injection vulnerability in litellm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: litellm before 1.83.7 (GitHub advisory GHSA-6wvf-77m9-58rm). Fixed in 1.83.7 (GitHub advisory GHSA-6wvf-77m9-58rm). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:08 UTC.
What is CVE-2026-37004?
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.
From the CVE record by mitre, last updated September 1, 2026, 03:56 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | litellm | < 1.83.7 | 1.83.7 | GHSA-6wvf-77m9-58rm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 8, 2026. Summary: LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint.
How severe is CVE-2026-37004?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-37004 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, August 31, 2026)
- EPSS
- 2.20% probability of exploitation activity in the next 30 days, percentile 83.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine
Where are the vendor advisories and references?
- https://github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/prompts/prompt_endpoints.py#L1073
- https://yerangamage.com/cves/detail/?slug=litellm-ssti-rce
When was it published, and where is the official record?
- Reserved
- April 6, 2026
- Published
- August 27, 2026, 00:00 UTC
- CVE record updated
- September 1, 2026, 03:56 UTC by mitre
- NVD
- Deferred, last modified September 1, 2026, 04:18 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:08 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on August 27, 2026?
- Aug 27, 2026CVE-2026-61802 wazuh: information disclosure
- Aug 27, 2026CVE-2026-78617 WatchGuard Dimension: information disclosure through timing or responses
- Aug 27, 2026CVE-2026-78616 WatchGuard Dimension: cross-site scripting (XSS)
- Aug 27, 2026CVE-2026-78615 WatchGuard Dimension: cross-site scripting (XSS)
- Aug 27, 2026CVE-2026-78613 WatchGuard Dimension: SQL injection
- Aug 27, 2026CVE-2026-78612 WatchGuard Dimension: deserialization of untrusted data
- Aug 27, 2026CVE-2026-78610 WatchGuard Dimension: cross-site request forgery (CSRF)
- Aug 27, 2026CVE-2026-78498 WatchGuard Dimension: server-side request forgery (SSRF)
Every CVE published on August 27, 2026
Questions about CVE-2026-37004
Is CVE-2026-37004 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 2.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of litellm are affected by CVE-2026-37004?
litellm before 1.83.7, per the GitHub advisory GHSA-6wvf-77m9-58rm. The tables above give every range the sources list.
Which version fixes CVE-2026-37004?
1.83.7, per the GitHub advisory GHSA-6wvf-77m9-58rm. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-37004?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-37004?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.