n8n has XML Node Prototype Pollution that to RCE
Package
Affected versions
>= 2.18.0, < 2.18.1
>= 2.17.0, < 2.17.4
< 1.123.32
Patched versions
2.18.1
2.17.4
1.123.32
Description
Published to the GitHub Advisory Database
Apr 29, 2026
Reviewed
Apr 29, 2026
Published by the National Vulnerability Database
May 4, 2026
Last updated
May 8, 2026
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:
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.
References