PatchSiren cyber security CVE debrief
CVE-2026-42231 n8n-io CVE debrief
CVE-2026-42231 is a critical vulnerability in the n8n workflow automation platform. An authenticated user with permission to create or modify workflows could exploit this to achieve remote code execution on the n8n host. The issue has been patched in versions 1.123.32, 2.17.4, and 2.18.1. This vulnerability allows for remote code execution via prototype pollution using crafted XML payloads in the xml2js library. Defenders should prioritize patching and restrict workflow modification permissions to trusted users.
- Vendor
- n8n-io
- Product
- n8n
- CVSS
- CRITICAL 9.4
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-05-04
- Original CVE updated
- 2026-11-11
- Advisory published
- 2026-05-04
- Advisory updated
- 2026-11-11
Who should care
Defenders responsible for n8n instances, especially those with authenticated users who can modify workflows, should assess exposure and prioritize patching. This includes IT security teams, DevOps teams, and administrators who manage n8n workflows. They should review and update incident response plans, conduct regular security audits, and implement additional logging and monitoring to detect potential exploitation attempts.
Why it matters
CVE-2026-42231 is a critical vulnerability in n8n that allows remote code execution via prototype pollution. Defenders should prioritize patching and restrict workflow modification permissions to trusted users.
- Remote code execution on the n8n host
- Potential data breaches via workflow manipulation
- Compromised workflow integrity
- Verification of patch deployment and workflow permissions
Technical summary
The xml2js library used in n8n's webhook handler allowed prototype pollution via crafted XML payloads. An authenticated user with workflow modification permissions could exploit this to achieve remote code execution on the n8n host. The vulnerability has been patched in versions 1.123.32, 2.17.4, and 2.18.1. Defenders should prioritize patching vulnerable n8n instances, especially those exposed to authenticated users with workflow modification permissions. The vulnerability has a critical CVSS score of 9.4 and affects n8n instances with authenticated users who can modify workflows.
Defensive priority
Defenders should prioritize patching vulnerable n8n instances, especially those exposed to authenticated users with workflow modification permissions.
Recommended defensive actions
- Patch n8n instances to versions 1.123.32, 2.17.4, or 2.18.1
- Restrict workflow modification permissions to trusted users
- Monitor for suspicious workflow changes
- Verify patch deployment and workflow permissions
- Conduct regular security audits
- Implement additional logging and monitoring
- Review and update incident response plans
Evidence notes
The CVE record and NVD entry provide details on the vulnerability, including its critical CVSS score of 9.4 and the affected versions. The xml2js library used in n8n's webhook handler allowed prototype pollution via crafted XML payloads. The CVE record was published on 2026-05-04T19:16:05.417Z and has not been modified since then. The vulnerability affects n8n instances with authenticated users who can modify workflows.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-42231 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-42231
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-42231 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-42231
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/n8n-io/n8n/security/advisories/GHSA-q5f4-99jv-pgg5
[email protected] - Vendor Advisory
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.