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.
References
| Link | Resource |
|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
06 May 2026, 17:14
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5 - Vendor Advisory | |
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.8 |
| First Time |
N8n n8n
N8n |
|
| CPE | cpe:2.3:a:n8n:n8n:2.18.0:*:*:*:enterprise:node.js:*:* cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:* |
04 May 2026, 19:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-04 19:16
Updated : 2026-05-06 17:14
NVD link : CVE-2026-42231
Mitre link : CVE-2026-42231
CVE.ORG link : CVE-2026-42231
JSON object : View
Products Affected
n8n
- n8n
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
