GHSA-5JR4-XMVF-FRMJ
Shared Prototype Mutation Through the MCP Workflow-Validation Interpreter Allows Owner Account Takeover
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
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| 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 |
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.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmn8n |
Corregida | 2.42.1 | 0 d | 2.47.7 no afectada |
2.41.42.42.1Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/n8n-io/n8n/security/advisories/GHSA-5jr4-xmvf-frmjLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
