{"id":"CVE-2026-42231","published":"2026-05-04T18:30:27Z","modified":"2026-05-05T03:56:35Z","title":"n8n: Prototype Pollution in XML Webhook Body Parser Leads to RCE","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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 node's SSH operations, achieve remote code execution on the n8n host. This issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00762,"percentile":0.51652,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.9,"factors":[{"name":"EPSS percentile","points":10.33},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.32",">= 2.17.0, < 2.17.4",">= 2.18.0, < 2.18.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-05-04T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.32",">=2.18.0, <2.18.1",">=2.17.0, <2.17.4"],"patched":["1.123.32","2.18.1","2.17.4"],"from":["GHSA-q5f4-99jv-pgg5"],"provenance":"source"}],"summary":{"text":"n8n, an open source workflow automation platform, contains a prototype pollution flaw in the XML request body parser (the xml2js library) used by its webhook handler. An attacker with an authenticated account that can create or modify workflows can send a crafted XML payload to pollute the JavaScript object prototype and, by chaining this with the Git node's SSH operations, execute code on the n8n host over the network with low complexity and no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:39Z"},"euvd":{"id":"EUVD-2026-27102","exploited":false,"provenance":"source"}}