> CVE-2026-42271 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-05-08 04:16
MODIFIED
2026-05-08 04:16
CVSS_SCORE V3
8.7
EPSS (Prob. Exploit)
91.45%
Top 0.2%
⚠ CISA_KEV
⚡ EPSS ÉLEVÉ (91.4%)
🎯 NUCLEI TEMPLATE
DATA SOURCES:
NVD 🔗 2026-05-08 CISA KEV 🔗 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-05 OSV 🔗 2026-10-11 NUCLEI 🔗 2026-06-07

> DESCRIPTION

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.

> AFFECTED_PRODUCTS

Berriai - LiteLLM

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-77 CWE-78

> CWE DETAILED DESCRIPTIONS

CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. | CWE-78: Improper Neutralization of Special Elements used in an OS Command - The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: RHOAI 3.4.1 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.
Red Hat Security Advisory: RHOAI 2.25.8 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.
Red Hat Security Advisory: RHOAI 3.3.4 - Red Hat OpenShift AI
Updated images are now available for Red Hat OpenShift AI.

> GITHUB SECURITY ADVISORY

GHSA-v4p8-mg3p-g94g HIGH

LiteLLM: Authenticated command execution via MCP stdio test endpoints

AFFECTED PACKAGES:
PIP / litellm
>= 1.74.2, < 1.83.7
Fixed in: 1.83.7

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

LiteLLM: Authenticated command execution via MCP stdio test endpoints

AFFECTED PACKAGES:
Unknown / Unknown
134 versions affected
ALIASES:
GHSA-v4p8-mg3p-g94g, PYSEC-2026-2599

> NUCLEI TEMPLATES

Des templates Nuclei sont disponibles pour scanner cette vulnérabilité.

🎯
CVE-2026-42271.yaml
http/cves/2026/CVE-2026-42271.yaml
Usage: nuclei -t http/cves/2026/CVE-2026-42271.yaml -u target.com

> HISTORIQUE DES MODIFICATIONS

Première apparition
08/05/2026 04:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command - The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not ne...
📊 ENRICHISSEMENT 08/06/2026 17:15
KEV
Champ modifié: Catalogue KEV
Ancienne valeur:
Non
Nouvelle valeur:
Oui
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') - The product constructs all or part of a command using externally-influenced input from an upstream compone...
Total des modifications: 3 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable
https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g
« BACK_TO_HOME