CVE-2026-42271
LiteLLM es un servidor proxy (Pasarela de IA) para llamar a las API de LLM en formato OpenAI (o nativo). Desde la versión 1.74.2 hasta antes de la versión 1.83.7, dos puntos finales utilizados para previsualizar un servidor MCP antes de guardarlo - POST /mcp-rest/test/connection y POST /mcp-rest/test/tools/list - aceptaban una configuración completa del servidor en el cuerpo de la solicitud, incluyendo los campos command, args y env utilizados por el transporte stdio.
Leer descripción completaMostrar menos
Cuando se invocaban con una configuración stdio, los puntos finales intentaban conectarse, lo que generaba el comando proporcionado como un subproceso en el host proxy con los privilegios del proceso proxy. Los puntos finales estaban protegidos únicamente por una clave API de proxy válida, sin verificación de rol. Cualquier usuario autenticado - incluyendo los titulares de claves de usuario interno de bajo privilegio - podía, por lo tanto, ejecutar comandos arbitrarios en el host. Este problema ha sido parcheado en la versión 1.83.7.
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Añadida al catálogo KEV de CISA: explotación confirmada, plazo federal 22 jun 2026
- Previdian la registra como explotada (informe público)
- Shadowserver la registra como explotada (honeypot)
- Primer exploit público
- Última modificación del registro en NVD
Exploits públicos
Hay código de explotación o plantillas de detección públicos. No es lo mismo que explotación activa confirmada (KEV), pero aumenta el riesgo: parchee con prioridad.
- Módulo de Metasploit (exploit fiable y al alcance de cualquiera) · BerriAI LiteLLM Proxy MCP Test Endpoint Command Execution
- Plantilla de Nuclei (detección automática y masiva) · LiteLLM - Command Injection
- Prueba de concepto en GitHub (no verificada) · Lista de pruebas de concepto en GitHub
⚠️ Las pruebas de concepto de GitHub no están verificadas: algunas son falsas o contienen malware. No las ejecute nunca fuera de un laboratorio aislado.
Explotación observada por otros catálogos
Además del KEV de CISA, otros catálogos de vulnerabilidades explotadas recogen esta CVE. No toda la evidencia vale lo mismo: un intento registrado por un honeypot no equivale a un compromiso confirmado.
- Shadowserver · intentos reales de explotación · honeypot · desde el 6 jul 2026 · vista por última vez el 23 nov 2026
- Previdian · intentos reales de explotación · informe público · desde el 8 jun 2026
Datos recogidos a través de Vulnerability-Lookup (CIRCL)
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1210Exploitation of Remote Serviceslateral movement92 % - Impacto principal
T1059Command and Scripting Interpreterexecution95 % - Impacto secundario
T1078Valid Accountsstealth · persistence · privilege escalation · initial access75 %
Endpoints /mcp-rest/test/* aceptan configuración completa (comando, args) y ejecutan subprocess con privilegios del proxy tras autenticación con API key válida, permitiendo RCE a usuarios autenticados.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
Tecnologías afectadas (2)
Registro NVD
- Estado en NVD
- Analizada
- Publicada
- 8 may 2026
- Última modificación
- 26 oct 2026
- Vector CVSS
- 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
- Debilidad (CWE)
- CWE-77, CWE-78
- Plazo de remediación
- 22 jun 2026
- Uso conocido en ransomware
- Unknown
Referencias
- Aviso del fabricantegithub.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g…
- Aviso gubernamentalcisa.gov/known-exploited-vulnerabilities-catalog
- Aviso de tercerosaccess.redhat.com/errata/RHSA-2026:27784
- Aviso de tercerosaccess.redhat.com/errata/RHSA-2026:28960
- Aviso de tercerosaccess.redhat.com/errata/RHSA-2026:30056
- Aviso de tercerosaccess.redhat.com/security/cve/CVE-2026-42271
Mostrar 3 referencias másMostrar menos
- Aviso de tercerosbugzilla.redhat.com/show_bug.cgi
- Aviso de tercerossecurity.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271…
- Notas de versióngithub.com/BerriAI/litellm/releases/tag/v1.83.7-stable
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-42271",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-42271",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "active"
},
{
"automatable": "no"
},
{
"technicalImpact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-05-08T00:00:00+00:00"
}
}
],
"cvssMetricV31": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
},
{
"type": "Secondary",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 8.8,
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "LOW",
"confidentialityImpact": "HIGH"
},
"impactScore": 5.9,
"exploitabilityScore": 2.8
}
],
"cvssMetricV40": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 8.7,
"Automatable": "NOT_DEFINED",
"attackVector": "NETWORK",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "NONE",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"privilegesRequired": "LOW",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"availabilityRequirement": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"subConfidentialityImpact": "HIGH",
"vulnConfidentialityImpact": "HIGH",
"confidentialityRequirement": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"vulnerabilityResponseEffort": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED"
}
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "BerriAI",
"product": "litellm",
"versions": [
{
"status": "affected",
"version": ">= 1.74.2, < 1.83.7"
}
]
}
]
},
{
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"affectedData": [
{
"cpes": [
"cpe:/a:redhat:openshift_ai:2.25::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift AI 2.25",
"versions": [
{
"status": "unaffected",
"version": "1781826406",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "rhoai/odh-llama-stack-core-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_ai:3.3::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift AI 3.3",
"versions": [
{
"status": "unaffected",
"version": "1782310008",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "rhoai/odh-llama-stack-core-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_ai:3.4::el9"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift AI 3.4",
"versions": [
{
"status": "unaffected",
"version": "1781622627",
"lessThan": "*",
"versionType": "rpm"
}
],
"packageName": "rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9",
"collectionURL": "https://catalog.redhat.com/software/containers/",
"defaultStatus": "affected"
},
{
"cpes": [
"cpe:/a:redhat:exploit_intelligence:0"
],
"vendor": "Red Hat",
"product": "Exploit Intelligence",
"packageName": "exploit-intelligence-tech-preview/vulnerability-analysis-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform:2"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2",
"packageName": "ansible-automation-platform-26/lightspeed-chatbot-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:ansible_automation_platform:2"
],
"vendor": "Red Hat",
"product": "Red Hat Ansible Automation Platform 2",
"packageName": "ansible-automation-platform-27/lightspeed-chatbot-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
},
{
"cpes": [
"cpe:/a:redhat:openshift_ai"
],
"vendor": "Red Hat",
"product": "Red Hat OpenShift AI (RHOAI)",
"packageName": "rhoai/odh-mlflow-rhel9",
"collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
"defaultStatus": "unaffected"
}
]
}
],
"published": "2026-05-08T04:16:21.820",
"references": [
{
"url": "https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable",
"tags": [
"Product",
"Release Notes"
],
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g",
"tags": [
"Mitigation",
"Patch",
"Vendor Advisory"
],
"source": "security-advisories@github.com"
},
{
"url": "https://access.redhat.com/errata/RHSA-2026:27784",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://access.redhat.com/errata/RHSA-2026:28960",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://access.redhat.com/errata/RHSA-2026:30056",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://access.redhat.com/security/cve/CVE-2026-42271",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2467924",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42271.json",
"tags": [
"Third Party Advisory"
],
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c"
},
{
"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-42271",
"tags": [
"US Government Resource"
],
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
}
],
"vulnStatus": "Analyzed",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-77"
},
{
"lang": "en",
"value": "CWE-78"
}
]
},
{
"type": "Secondary",
"source": "0b0ca135-0b70-47e7-9f44-1890c2a1c46c",
"description": [
{
"lang": "en",
"value": "CWE-78"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "LiteLLM es un servidor proxy (Pasarela de IA) para llamar a las API de LLM en formato OpenAI (o nativo). Desde la versión 1.74.2 hasta antes de la versión 1.83.7, dos puntos finales utilizados para previsualizar un servidor MCP antes de guardarlo - POST /mcp-rest/test/connection y POST /mcp-rest/test/tools/list - aceptaban una configuración completa del servidor en el cuerpo de la solicitud, incluyendo los campos command, args y env utilizados por el transporte stdio. Cuando se invocaban con una configuración stdio, los puntos finales intentaban conectarse, lo que generaba el comando proporcionado como un subproceso en el host proxy con los privilegios del proceso proxy. Los puntos finales estaban protegidos únicamente por una clave API de proxy válida, sin verificación de rol. Cualquier usuario autenticado - incluyendo los titulares de claves de usuario interno de bajo privilegio - podía, por lo tanto, ejecutar comandos arbitrarios en el host. Este problema ha sido parcheado en la versión 1.83.7."
}
],
"lastModified": "2026-10-26T20:10:00.160",
"cisaActionDue": "2026-06-22",
"cisaExploitAdd": "2026-06-08",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D249DFDB-5D0D-4053-A997-0900F77F9A13",
"versionEndExcluding": "1.83.7",
"versionStartIncluding": "1.74.2"
}
],
"operator": "OR"
}
]
},
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2823BDAD-B884-4664-93D8-A99DDE5B230E",
"versionEndExcluding": "2.25.8",
"versionStartIncluding": "2.25"
},
{
"criteria": "cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0653F079-4206-402F-AF7E-C1A6B0C7D32B",
"versionEndExcluding": "3.3.4",
"versionStartIncluding": "3.3"
},
{
"criteria": "cpe:2.3:a:redhat:openshift_ai:3.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "138068CA-95F4-496B-8056-94E24190B17F"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "security-advisories@github.com",
"cisaRequiredAction": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.",
"cisaVulnerabilityName": "BerriAI LiteLLM Command Injection Vulnerability"
}