{"cve":"CVE-2026-37004","nvd":{"published":"2026-08-27T20:17:41.270","modified":"2026-09-01T04:18:00.997","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-1336"],"references":["https://github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/prompts/prompt_endpoints.py#L1073","https://yerangamage.com/cves/detail/?slug=litellm-ssti-rce"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:50:17.453294893+00:00"},"epss":{"cve":"CVE-2026-37004","score":0.00799,"percentile":0.5657,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6wvf-77m9-58rm","url":"https://osv.dev/vulnerability/GHSA-6wvf-77m9-58rm","summary":"LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint","modified":"2026-09-10T12:25:33.314139929Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<1.83.7"],"fixed":["1.83.7"]}]},{"id":"PYSEC-2026-3861","url":"https://osv.dev/vulnerability/PYSEC-2026-3861","summary":"LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint","modified":"2026-09-10T12:15:08.177938502Z","packages":[{"ecosystem":"PyPI","name":"litellm","purl":"pkg:pypi/litellm","ranges":["<1.83.7"],"fixed":["1.83.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}