Skip to main content
VulnerabilityPublished

CVE-2026-42231: n8n · Prototype Pollution

Affects n8nSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
n8n-ion8nAffected
  • >=2.18.0 <2.18.1
Fixed in
  • 2.18.1
n8n-ion8nAffected
  • >=2.17.0 <2.17.4
Fixed in
  • 2.17.4
n8n-ion8nAffected
  • <1.123.32
Fixed in
  • 1.123.32
GitHubn8n-io/n8npkg:github/n8n-io/n8nOther threatsAffected
  • <1.123.32
Fixed in
  • 1.123.32

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.

References

Community reviews

Loading reviews…