Advisories / npm / n8n / CVE-2026-42232
n8n has XML Node Prototype Pollution that to RCE (CVE-2026-42232)
CVE-2026-42232 GHSA-hqr4-h3xv-9m3r Published 29 Apr 2026
Fixed in n8n 1.123.32 and 2.17.4 and 2.18.1.
$ npm install n8n@^1.123.32 $ npm install n8n@^2.17.4 $ npm install n8n@^2.18.1
Run the one for the major version you’re on: each fix stays within its release line.
Which versions are affected
| Package | Affected | Fixed in |
|---|---|---|
| n8n | < 1.123.32≥ 2.17.0, < 2.17.4≥ 2.18.0, < 2.18.1 | 1.123.322.17.42.18.1 |
Check a site from its project folder:
npm ls n8n
shows the installed version. Or paste the lock file into the lock file checker to check every package at once.
Timeline
- Advisory published, with a fix
Questions
Which version of n8n is safe from CVE-2026-42232?
2.18.1 and later. Versions affected: < 1.123.32, ≥ 2.17.0, < 2.17.4, ≥ 2.18.0, < 2.18.1.