CVE-2026-42231: n8n · Prototype Pollution
Affects n8nSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical · fixed in 2.18.1 : patch n8n as a priority.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.18.1, 2.17.4, 1.123.32
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 4 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Upgrade n8n to 2.18.1, 2.17.4 or 1.123.32; n8n-io/n8n to 1.123.32.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
| n8n-ion8n | Affected
| Fixed in
|
GitHubn8n-io/n8npkg:github/n8n-io/n8nOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
This vulnerability is patched in n8n versions 1.123.32, 2.17.4, and 2.18.1. Users should upgrade to these or later versions to remediate the issue. Since this is not a cloud service, remediation depends on applying these official fixes. Patch status is confirmed by the vendor advisory information embedded in the description.
Description
A critical prototype pollution vulnerability (CWE-1321) exists in the n8n workflow automation platform prior to versions 1.123.32, 2.17.4, and 2.18.1. The flaw arises from the xml2js library used in n8n's webhook handler, allowing an authenticated user with workflow modification permissions to craft an XML payload that pollutes the JavaScript object prototype. By chaining this pollution with the Git node's SSH operations, remote code execution on the n8n host is possible. This vulnerability has been patched in the specified versions.