---
title: "CVE-2026-37004: LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint"
url: https://erroneo.us/security/cve/CVE-2026-37004/
description: "CVE-2026-37004 (litellm (PyPI)): BerriAI litellm Fixes, deadlines and original sources."
type: vulnerability-record
section: "Security Digest"
date_published: 2026-08-27
date_modified: 2026-09-08
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-37004"
kev: false
cvss: 9.8
epss: 0.00799
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-37004: LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
- EPSS 0.8% , percentile 56: FIRST’s model estimates a 0.8% chance of exploitation activity in the next 30 days, higher than 56% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes litellm (PyPI) < 1.83.7, fixed in 1.83.7 . Check your lockfile, including transitive dependencies.

## What it is

BerriAI litellm

## Affected packages

- PyPI `litellm` < 1.83.7 → fixed: 1.83.7

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation none , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 0.80% probability of exploitation activity in the next 30 days; percentile 56.

## Sources

- [GitHub Advisory GHSA-6wvf-77m9-58rm](https://github.com/advisories/GHSA-6wvf-77m9-58rm)
- [CVE.org record CVE-2026-37004](https://www.cve.org/CVERecord?id=CVE-2026-37004)
- [NVD entry CVE-2026-37004](https://nvd.nist.gov/vuln/detail/CVE-2026-37004)
- [github.com](https://github.com/BerriAI/litellm/blob/244bdffd1bfe7bebdfdef516e1ebe426a898e2f0/litellm/proxy/prompts/prompt_endpoints.py#L1073)
- [yerangamage.com](https://yerangamage.com/cves/detail/?slug=litellm-ssti-rce)
- [github.com](https://github.com/BerriAI/litellm/commit/d910a95661fce3cdd36f3b06c03ecf9c46c6457c)
- [github.com](https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable)

---
Source page: https://erroneo.us/security/cve/CVE-2026-37004/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
