CVE-2026-37004
A public proof of concept exists; no exploitation attested.
- Published2026-08-27
- Fixed in1.83.7
- WeaknessCWE-1336
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-12-0106:01Nuclei detection templateProjectDiscovery
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.83 | < 1.83.7 | 1.83.7 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- airflow-2MinimOSall versions · no fixed version listedand 3 other packages
- airflow-2CleanStartall versions · fixed in 2.10.3-r4
- airflow-3MinimOSall versions · fixed in 3.3.1-r0
- litellm-1.83MinimOSall versions · fixed in 1.83.10-r0
Vendor advisories
litellm: berriai: litellm: Arbitrary OS command execution via Server-Side Template Injection
exploit-intelligence/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · rhoai/odh-llama-stack-core-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · rhoai/odh-mlflow-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · +1 more
Red Hat Security Advisory: Exploit Intelligence 3.1.2
Fix
- Update litellm to 1.83.7
- Vendor fix Red Hat Product Security RHSA-2026:102223 · 1 productApply all relevant previously released errata before installing this update. Follow the supported Exploit Intelligence upgrade procedure to update your deployment to the latest Exploit Intelligence 3.1.2 images. For deployment and configuration instructions, see the Exploit Intelligence Guide und…
- Workaround from the vendor Red Hat Product Security RHSA-2026:102223 · 2 productsLimit exposure by restricting network access to the litellm service to localhost or trusted internal networks, or configure an upstream reverse proxy or ingress controller to block requests directed to the `/prompts/test` path. If restricting service access to a trusted subnet using firewalld (for…
- No fix available, says the vendor Red Hat Product Security CVE-2026-37004 · 4 productsAffected
Detection
read 2026-12-01 11:37 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-08-31
- CISA-ADPCVSS 3.19.82026-08-31
- CISA-ADPweakness (CWE)CWE-13362026-08-31
- FIRST EPSSEPSS score2.2 %2026-12-01
- ProjectDiscoverydetectionread 2026-12-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2026-09-08
Identifiers
- EUVD-2026-67271same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-6wvf-77m9-58rmsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-79gg-82x6-83mmsame flawMinimOS · LicenseRef-unstated
- MINI-7mmg-h5fw-q8pfsame flawMinimOS · LicenseRef-unstated
- MINI-9j6v-jprr-rjq9same flawMinimOS · LicenseRef-unstated
- MINI-qwhw-vf95-r25rsame flawMinimOS · LicenseRef-unstated
- MINI-wp7q-x63v-qm7gsame flawMinimOS · LicenseRef-unstated
- MINI-x2fp-x38p-6r92same flawMinimOS · LicenseRef-unstated
- PYSEC-2026-3861same flawPyPA Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-08-27
- Last modified
- 2026-09-01
- NVD status
- Deferred
- GitHub advisory
- GHSA-6wvf-77m9-58rm
Frequently asked questions
What is CVE-2026-37004?
Is CVE-2026-37004 actively exploited?
What is the CVSS score for CVE-2026-37004?
Running litellm? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-6wvf-77m9-58rm
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0