llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · n8n

GHSA-5JR4-XMVF-FRMJ

Shared Prototype Mutation Through the MCP Workflow-Validation Interpreter Allows Owner Account Takeover

Parche disponible
Descargar PNG JSON
CVSS 4.0
7.7
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición50 dDesde la divulgación, 30 sept 2026, 3:35 a. m.
Detección50 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 2.42.1
Monitoreo
Detectada +1
30 sept 26
19 nov 26
30 sept 26
12 oct 26
25 oct 26
7 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-5JR4-XMVF-FRMJ divulgada · CVSS 7.7 (GitHub)
Remediación Parche 2.42.1 n8n · 0 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Impact

The MCP workflow-validation tool evaluates caller-supplied code in the main process through an interpreter that reads inherited properties and allows assignment onto shared prototypes. A member holding only a read grant can replace a built-in method with one that returns a truthy value, which makes a server-side permission check accept a scope they do not hold. The reporter drove this to a full takeover of the instance owner's account. Accounts protected by MFA are not affected.

Patches

The issue has been fixed in n8n versions 2.41.4 and 2.42.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Disable the instance-level MCP server if it is not required.
- Restrict n8n instance access to fully trusted users only.
- Enable MFA on all owner and admin accounts to prevent password-reset links from being usable even if obtained.
- Audit and revoke `workflow:read` MCP OAuth grants from any users who do not require them.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
n8n< 2.41.4
n8n< 2.42.1
2.41.4
2.42.1
2.47.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmn8n
Corregida 2.42.1 0 d 2.47.7 no afectada
Versiones corregidas2.41.42.42.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/n8n-io/n8n/security/advisories/GHSA-5jr4-xmvf-frmj

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.