GHSA-3P2G-2WPM-8H3G
Prototype Pollution in the AI Workflow Builder Connection Merge
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-3P2G-2WPM-8H3G divulgada · CVSS 6 (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 AI workflow builder merges a workflow's connections using node names directly as object members, with no check for reserved keys. A name refused by the editor but accepted through the API can therefore reach the global object prototype through the builder's connect-nodes operation, a process-wide change that persists until the instance restarts.
Patches
The issue has been fixed in n8n versions 1.123.83, 2.42.1, and 2.41.4. 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:
- Restrict n8n instance access to fully trusted users only.
- Disable the AI Builder feature if it is not required.
- Audit existing workflows for nodes with reserved JavaScript property names such as `__proto__`, `constructor`, or `prototype` and remove or rename 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 |
1.123.832.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-3p2g-2wpm-8h3gLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
