CVE-2026-42231N8n
Critical 9.4
Follow: this CVE · N8n · N8n We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 9.4
- EPSS
- —
- Auth required
- Yes
- Published
- May 4, 2026
- Updated
- Nov 11, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1321
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for N8n.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | n8n |
< 1.123.32 |
1.123.32 |
npm install n8n@1.123.32 |
| npm | n8n |
≥ 2.18.0 < 2.18.1 |
2.18.1 |
npm install n8n@2.18.1 |
| npm | n8n |
≥ 2.17.0 < 2.17.4 |
2.17.4 |
npm install n8n@2.17.4 |
Per OSV / GitHub Advisories (GHSA-q5f4-99jv-pgg5). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| n8n | n8n | < 1.123.32 |
| n8n | n8n | ≥ 2.17.0 < 2.17.4 |
| n8n | n8n | 2.18.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory