CVE-2026-42231
published critical CVSS 4.0 · 9.4n8n: Prototype Pollution in XML Webhook Body Parser Leads to RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n< 1.123.32 · >= 2.17.0, < 2.17.4 · >= 2.18.0, < 2.18.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | < 1.123.32 (affected)>= 2.17.0, < 2.17.4 (affected)>= 2.18.0, < 2.18.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-1321 CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
1Provider assertions
2GitHub_M · cna
n8n: Prototype Pollution in XML Webhook Body Parser Leads to RCE
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c14832e782f5d93d7c84caed7f8c841b17088fcd0e2bf2edc24aabf9cb8baef8
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record