gcdRadar
archive/Patch now/AIR-2026-0597
closedclosed 24 Apr 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-42203: LiteLLM Server-Side Template Injection

LiteLLM

LiteLLM Proxy contained a server-side template injection vulnerability in the prompts test endpoint. Authenticated users could run arbitrary code and expose environment secrets.

disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why

CVSS
8.6
EPSS
<0.01 · top 69% · 2026-11-13
fix status
Fix status unknown
first report
24 Apr 2026
last update
8 May 2026

Timeline · 2

  1. 24 Apr 2026CVE-2026-42203: LiteLLM: Server-Side Template Injection in /prompts/test endpoint
  2. 8 May 2026CVE-2026-42203: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format.

Sources · 2

Advisories and databases

  1. 2026-04-24
    CVE-2026-42203: LiteLLM: Server-Side Template Injection in /prompts/test endpoint
    GitHub Advisory Database · github.com/advisories/GHSA-xqmj-j6mv-4862
  2. 2026-05-08

Titles and links belong to their publishers. The summary above is written by gcdRadar in its own words; data is CC BY-SA 4.0.

Classification

AI role
Attack on AI
categories
Infrastructure vulnerability
severity
2 · Disclosed vulnerability
fix status
Fix status unknown
targets
Framework / tooling
owasp llm top 10
LLM03:2025 Supply Chain
mitre atlas
no technique for these categories
tags
ssti
dates
happened 24 Apr 2026 · first reported 24 Apr 2026
origin
GitHub Advisory Database
Vulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
record
confidence 0.95 · created 2026-10-18 07:00Z · updated 2026-10-18 10:04Z

Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned

Copy a brief

This record as a short Markdown brief, for a ticket, a chat or a coding agent.

the brief as text
# CVE-2026-42203: LiteLLM Server-Side Template Injection

https://gcdradar.vercel.app/incidents/cve-2026-42203-litellm-server-side-template-injection · AIR-2026-0597 · closed 2026-04-24

- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-04-24
- AI role: Attack on AI
- Products: LiteLLM
- CVE ids: CVE-2026-42203
- CVSS: 8.6

## Summary

LiteLLM Proxy contained a server-side template injection vulnerability in the prompts test endpoint. Authenticated users could run arbitrary code and expose environment secrets.

## What to do

No action recorded; read the sources below and the vendor's advisory.

## Latest updates

- 2026-05-08: CVE-2026-42203: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. (https://nvd.nist.gov/vuln/detail/CVE-2026-42203)
- 2026-04-24: CVE-2026-42203: LiteLLM: Server-Side Template Injection in /prompts/test endpoint (https://github.com/advisories/GHSA-xqmj-j6mv-4862)

## Sources

- 2026-04-24 GitHub Advisory Database: CVE-2026-42203: LiteLLM: Server-Side Template Injection in /prompts/test endpoint https://github.com/advisories/GHSA-xqmj-j6mv-4862
- 2026-05-08 NVD: CVE-2026-42203: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. https://nvd.nist.gov/vuln/detail/CVE-2026-42203

Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.

Related

  1. closed8.8
    LiteLLM LiteLLM API Key Generation Flaw Allows Unauthorized Route Access

    Patch now · Disclosed · since 21 May 2026 · CVE-2026-47101

    AI
  2. closed8.8
    LiteLLM LiteLLM User Role Update Vulnerability Enables Privilege Escalation

    Patch now · Disclosed · since 21 May 2026 · CVE-2026-47102

    AI
  3. closed8.8
    LiteLLM CVE-2026-42271: LiteLLM Authenticated Command Execution via MCP Endpoints

    Patch now · Disclosed · since 25 Apr 2026 · updated 8 May 2026 · CVE-2026-42271

    AI
  4. closed9.8
    LiteLLM CVE-2026-42208: LiteLLM proxy API key verification SQL injection

    Patch now · Disclosed · since 24 Apr 2026 · updated 8 May 2026 · CVE-2026-42208

    AI
  5. closed8.8
    LiteLLM CVE-2026-40217: LiteLLM sandbox escape in custom-code guardrail

    Patch now · Disclosed · since 11 May 2026 · updated 11 May 2026 · CVE-2026-40217

    AI
  6. closed
    AI