Skip to main content
Public proof of conceptFix available

CVE-2026-37004

A public proof of concept exists; no exploitation attested.

  • Published2026-08-27
  • Fixed in1.83.7
  • WeaknessCWE-1336

Am I 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
  1. 2026-12-0106:01Nuclei detection templateProjectDiscovery

Versions per branch

OSV
litellm
BranchAffectedFixed in
1.83< 1.83.71.83.7

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

  • CVE-2026-37004 Red Hat Product Security4 known affected

    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

  • RHSA-2026:102223 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Exploit Intelligence 3.1.2

Full record on NVD

Fix

  1. Update litellm to 1.83.7
  2. 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…
  3. 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…
  4. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2026-37004 actively exploited?

Active exploitation of CVE-2026-37004 has not been confirmed. Its EPSS score was 2.2% on 2026-12-01, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-37004?

CVE-2026-37004 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record