CVE-2026-42232
JSON

9.4critical

n8n: XML Node Prototype Pollution to RCE

Severity
9.4critical CVSS:4.0 by GitHub_M
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-hqr4-h3xv-9m3r

Description

n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with permission to create or modify workflows could achieve global prototype pollution via the XML Node leading to RCE when combined with other nodes exploiting the prototype pollution. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

Affected

Product or packageVersionsReported by
n8n-io n8n< 1.123.32, >= 2.17.0, < 2.17.4, >= 2.18.0, < 2.18.1CVE List
n8n (npm)from 2.18.0 before 2.18.1, from 2.17.0 before 2.17.4, before 1.123.32GitHub Advisory Database
n8n n8nbefore 1.123.32, from 2.17.0 before 2.17.4, 2.18.0NVD

All scores

GitHub_M9.4critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L
GitHub9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-1321

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 versions 1.123.32, 2.17.4, and 2.18.1, an authenticated user with permission to create or modify workflows could achieve global prototype pollution via the XML Node leading to RCE when combined with other nodes exploiting the prototype pollution. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.

GitHub Advisory Database

Impact

An authenticated user with permission to create or modify workflows could achieve global prototype pollution via the XML Node leading to RCE when combined with other nodes exploiting the prototype pollution.

Patches

The issue has been fixed in n8n versions 1.123.32, 2.17.4, and 2.18.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.xml to the NODES_EXCLUDE environment variable.

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

NVD (es)

n8n es una plataforma de automatización de flujos de trabajo de código abierto. Antes de las versiones 1.123.32, 2.17.4 y 2.18.1, un usuario autenticado con permiso para crear o modificar flujos de trabajo podría lograr una contaminación global de prototipos a través del Nodo XML, lo que lleva a RCE cuando se combina con otros nodos que explotan la contaminación de prototipos. Este problema ha sido parcheado en las versiones 1.123.32, 2.17.4 y 2.18.1.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-42232 changed 2026-05-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-hqr4-h3xv-9m3r changed 2026-05-08CC-BY-4.0
NVDCVE-2026-42232 changed 2026-11-11Public domain