CVE-2026-42232

n8n: XML Node Prototype Pollution to RCE

Published May 4, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

n8n, an open source workflow automation platform, contains a prototype pollution flaw in the XML Node that allows an authenticated user with workflow creation or editing rights to manipulate JavaScript prototypes. By altering prototypes, the attacker can chain prototype pollution with other nodes to achieve arbitrary code execution on the host. This weakness is categorized as CWE‑1321 and can compromise the confidentiality, integrity, and availability of the system.

Affected Systems

The vulnerability affects n8n versions older than 1.123.32, 2.17.4, and 2.18.1 across all deployments. Any install of v1.x before 1.123.32 or v2.x before 2.17.4 (or before 2.18.1) is susceptible when XML Node functionality is enabled.

Risk and Exploitability

The CVSS score of 9.4 indicates a critical severity, and the absence of an EPSS rating means the exploitation probability is currently unknown but the flaw is not yet catalogued in CISA’s KEV list. Because the attack requires authentication, only users with workflow editing privileges can initiate the exploit; however, once achieved, the effect is system‑wide remote code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to version 1.123.32, 2.17.4, 2.18.1, or later to apply the vendor patch.
  • Limit workflow creation and modification permissions to trusted and least‑privilege users.
  • If a patch cannot be applied immediately, remove or disable the XML Node from the available nodes to eliminate the prototype‑pollution path.

Generated by OpenCVE AI on May 4, 2026 at 20:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-hqr4-h3xv-9m3r n8n has XML Node Prototype Pollution that to RCE
History
Type Values Removed Values Added
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*
cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:*
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
First Time appeared N8n
N8n n8n
Vendors & Products N8n
N8n n8n
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title n8n: XML Node Prototype Pollution to RCE
Weaknesses CWE-1321
References
Metrics cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:L'}

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 5, 2026, 3:56 AM
Reserved
Apr 25, 2026, 5:37 AM
Status
Analyzed
Published
May 4, 2026, 7:16 PM
Modified
Nov 11, 2026, 11:10 PM