8.8

CVE-2026-42203: LiteLLM: Server-Side Template Injection in /prompts/test endpoint

Modified
AliasesGHSA-xqmj-j6mv-4862PYSEC-2026-2602CGA-v73v-xr25-jww3
Published 08-05-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-42203 is a high (CVSS 8.8) vulnerability in berriai litellm. EPSS estimates a 0.37% chance of exploitation in the next 30 days, higher than 33.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.6, network access); no exploitation reported by the 5 checked sources

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 08-05-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

Description

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.80.5 to before version 1.83.7, the POST /prompts/test endpoint accepted user-supplied prompt templates and rendered them without sandboxing. A crafted template could run arbitrary code inside the LiteLLM Proxy process. The endpoint only checks that the caller presents a valid proxy API key, so any authenticated user could reach it. Depending on how the proxy is deployed, this could expose secrets in the process environment (such as provider API keys or database credentials) and allow commands to be run on the host. This issue has been patched in version 1.83.7.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.37%

Chance of exploitation in the next 30 days

Percentile

33%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • airflow-3< 3.2.2-r7
  • litellm< 1.83.10.0-r0
Berriai1 product
Litellm1 product
PyPI1 product
  • litellm≥ 1.80.5, < 1.83.7
Wolfi1 product
  • airflow-3< 3.2.2-r7

5 vendors · 6 products

References

10 links