9.4critical
n8n: XML Node Prototype Pollution Patch Bypass
- Severity
- 9.4critical CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.63% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-wrwr-h859-xh2r
Description
n8n is an open source workflow automation platform. Prior to 1.123.43, 2.22.1, and 2.20.7, an authenticated user with permission to create or modify workflows could bypass the patch for CVE-2026-42232 in the XML node. When combined with other nodes, this could lead to RCE on the n8n host. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | < 1.123.43, >= 2.0.0-rc.0, < 2.20.7, >= 2.21.0, < 2.21.1 | CVE List |
| n8n (npm) | before 1.123.43, from 2.21.0 before 2.22.1, from 2.0.0-rc.0 before 2.20.7 | GitHub Advisory Database |
| n8n n8n | before 1.123.43, from 2.0.0 before 2.20.7, from 2.21.0 before 2.22.1 | NVD |
All scores
| GitHub_M | 9.4critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| GitHub | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
n8n is an open source workflow automation platform. Prior to 1.123.43, 2.22.1, and 2.20.7, an authenticated user with permission to create or modify workflows could bypass the patch for CVE-2026-42232 in the XML node. When combined with other nodes, this could lead to RCE on the n8n host. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.
GitHub Advisory Database
Impact
An authenticated user with permission to create or modify workflows could bypass the patch for GHSA-hqr4-h3xv-9m3r in the XML node. When combined with other nodes, this could lead to RCE on the n8n host.
Patches
The issue has been fixed in n8n versions 1.123.43, 2.20.7, and 2.22.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:
- Limit workflow creation and editing permissions to fully trusted users only.
- Disable the XML node by adding
n8n-nodes-base.xmlto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD (es)
n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de 1.123.43, 2.22.1 y 2.20.7, un usuario autenticado con permiso para crear o modificar flujos de trabajo podría eludir el parche para CVE-2026-42232 en el nodo XML. Cuando se combina con otros nodos, esto podría conducir a RCE en el host de n8n. Esta vulnerabilidad se corrige en 1.123.43, 2.22.1 y 2.20.7.
References
| https://github.com/n8n-io/n8n/security/advisories/GHSA-wrwr-h859-xh2r | mitigation, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-44791 | advisory | |
| https://github.com/advisories/GHSA-hqr4-h3xv-9m3r | advisory | |
| https://github.com/n8n-io/n8n | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44791 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-wrwr-h859-xh2r changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2026-44791 changed 2026-10-26 | Public domain |