BreachSpiderVerified, not vibes

CVE-2026-42231 in N8N

High 8.8

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 e...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.18.8
CVSS v49.4
EPSS0.8%
EPSS percentile52th
FixUnknown

Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
N8N N8N 2.18.0 < 1.123.32 ≥ 2.17.0, < 2.17.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-42231
BreachSpider IDBS-2026-GLOBAL-271176-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-05-04
Last modified2026-11-11
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-1321: CWE-1321

Related attack patterns (CAPEC)

CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-1321

CAPEC-77 Manipulating User-Controlled Variables via CWE-1321

CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels via CWE-1321

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

A prototype pollution vulnerability exists in n8n versions prior to 1.123.32, 2.17.4, and 2.18.1 due to a flaw in the xml2js library. This could allow an authenticated user with workflow creation or modification permissions to execute arbitrary code by crafting a specific XML payload.

The vulnerability is exploited through the webhook handler in n8n, which uses the xml2js library to parse XML request bodies. An attacker can craft a malicious XML payload that triggers prototype pollution, potentially leading to remote code execution.

Questions

What is CVE-2026-42231?

A prototype pollution vulnerability exists in n8n versions prior to 1.123.32, 2.17.4, and 2.18.1 due to a flaw in the xml2js library. This could allow an authenticated user with workflow creation or modification permissions to execute arbitrary code by crafting a specific XML payload.

What is the CVSS score for CVE-2026-42231?

CVE-2026-42231 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.8%.

Is CVE-2026-42231 actively exploited?

No confirmed active exploitation of CVE-2026-42231 as of 2026-11-12.

How do I remediate CVE-2026-42231?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2026-42231?

CVE-2026-42231 affects N8N N8N.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"N8N","product":"N8N","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-11.