CVE-2026-42231: Vulnerability in N8n

Critical. n8n is an open source workflow automation platform. Prior to versions 1.123.32, 2.17.4, and 2.18.1, a flaw in the xml2js library used to parse XML request bodies in n8n's webhook handler allowed prototype pollution via a crafted XML payload. An authenticated user with permission to create or modify workflows could exploit this to pollute the JavaScript object prototype and, by chaining the pollution with the Git...

npm, CWE-1321

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
0.9 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-q5f4-99jv-pgg5
EU ID
EUVD-2026-27102
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-1321
Published
29 Apr 2026
Last change
11 Nov 2026
Likelihood rank
Higher than 60 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • N8n Before 1.123.32; From 2.17.0 before 2.17.4; Version 2.18.0. Fixed in 1.123.32, 2.17.4

Affected packages

Vulnerable version ranges and fixed releases

  • n8n npm, Affected before 1.123.32. Fixed in 1.123.32

Advisories

Vendor and security advisories

Related