All reports
Critical

n8n has XML Node Prototype Pollution that to RCE

Affected versions

npmn8n
Affected versions
>= 2.17.0, < 2.17.4
Fixed version
2.17.4
npmn8n
Affected versions
< 1.123.32
Fixed version
1.123.32
npmn8n
Affected versions
>= 2.18.0, < 2.18.1
Fixed version
2.18.1

Exploitation

CVE-2026-42232

Probability of exploitation in the next 30 days: 0.48%

FIRST EPSS · 2026-11-22

Description

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.

Links

Credits

  • simonkoeck