gcdRadar
archive/Patch now/AIR-2026-0600
closedclosed 25 Apr 2026Patch now2 Disclosed vulnerabilityAI

CVE-2026-42271: LiteLLM Authenticated Command Execution via MCP Endpoints

LiteLLM

LiteLLM preview endpoints for Model Context Protocol servers accepted arbitrary command parameters in request bodies without adequate validation. Authenticated users could spawn arbitrary subprocesses on the proxy host.

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.8
EPSS
0.91 · top 0.2% · 2026-11-13
fix status
Fix status unknown
first report
25 Apr 2026
last update
8 May 2026

Timeline · 2

  1. 25 Apr 2026CVE-2026-42271: LiteLLM: Authenticated command execution via MCP stdio test endpoints
  2. 8 May 2026CVE-2026-42271: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format.

Sources · 2

Advisories and databases

  1. 2026-04-25
    CVE-2026-42271: LiteLLM: Authenticated command execution via MCP stdio test endpoints
    GitHub Advisory Database · github.com/advisories/GHSA-v4p8-mg3p-g94g
  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
dates
happened 25 Apr 2026 · first reported 25 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-42271: LiteLLM Authenticated Command Execution via MCP Endpoints

https://gcdradar.vercel.app/incidents/cve-2026-42271-litellm-authenticated-command-execution-via-m · AIR-2026-0600 · closed 2026-04-25

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

## Summary

LiteLLM preview endpoints for Model Context Protocol servers accepted arbitrary command parameters in request bodies without adequate validation. Authenticated users could spawn arbitrary subprocesses on the proxy host.

## What to do

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

## Latest updates

- 2026-05-08: CVE-2026-42271: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. (https://nvd.nist.gov/vuln/detail/CVE-2026-42271)
- 2026-04-25: CVE-2026-42271: LiteLLM: Authenticated command execution via MCP stdio test endpoints (https://github.com/advisories/GHSA-v4p8-mg3p-g94g)

## Sources

- 2026-04-25 GitHub Advisory Database: CVE-2026-42271: LiteLLM: Authenticated command execution via MCP stdio test endpoints https://github.com/advisories/GHSA-v4p8-mg3p-g94g
- 2026-05-08 NVD: CVE-2026-42271: LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. https://nvd.nist.gov/vuln/detail/CVE-2026-42271

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.6
    LiteLLM CVE-2026-42203: LiteLLM Server-Side Template Injection

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

    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