CVE-2026-37004
At a glance
- Source
- NVD
- EPSS
- EPSS 0.80 % · percentile 57 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-1336 — Improper Neutralization of Special Elements Used in a Template Engine
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-6wvf-77m9-58rm — LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
- PYSEC-2026-3861 — LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
European references
- ENISA EUVD · EUVD-2026-67271
- GCVE · GCVE-0-2026-37004
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |