CVE-2026-42231 — n8n has Prototype Pollution in n8n — CVE Details
n8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCE
Summary
Advisory Timeline
- First published April 29, 2026 (166 days ago).
- Last revised May 8, 2026 — 8 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@2.18.1
npm install n8n@1.123.32
npm install n8n@2.17.4
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-42231?
- n8n has Prototype Pollution in XML Webhook Body Parser that Leads to RCE This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
- How do I check if my project is affected by CVE-2026-42231?
- CVE-2026-42231 affects n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-42231 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-25115CRITICAL
n8n has a Python sandbox escape
- CVE-2026-25053CRITICAL
n8n has OS Command Injection in Git Node
- CVE-2026-21877CRITICAL
n8n Vulnerable to RCE via Arbitrary File Write
- CVE-2026-21858CRITICAL
n8n Vulnerable to Unauthenticated File Access via Improper Webhook Request Handling
- CVE-2025-68613CRITICAL
n8n Vulnerable to Remote Code Execution via Expression Injection
- CVE-2026-33713HIGH
n8n has SQL Injection in Data Table Node via orderByColumn Expression
- CVE-2026-72764MEDIUM
n8n: Cross-Tenant Module-Cache Poisoning in the JS Task Runner
- CVE-2026-72768MEDIUM
n8n: SSRF Protection Bypass via MCP Client Node
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies