n8n CVE-2026-42231 et al.: five authenticated prototype-pollution and node flaws (CVSS 4.0 9.4) let workflow editors reach code execution or read server files
Any n8n user who can edit workflows could pollute prototypes or abuse the Git node; the full fix needs 1.123.43, 2.20.7 or 2.22.1
Analysis
n8n fixed five flaws, all scored CVSS 4.0 9.4 and all requiring an authenticated user with permission to create or modify workflows, in two batches. On 2026-04-22 it published CVE-2026-42231, prototype pollution through the xml2js parser of XML webhook bodies (n8n, GHSA-q5f4-99jv-pgg5, 2026-04-22), and CVE-2026-42232, prototype pollution through the XML node that leads to code execution when combined with other nodes (n8n, GHSA-hqr4-h3xv-9m3r, 2026-04-22), both fixed in 1.123.32, 2.17.4 and 2.18.1. On 2026-05-13 it published CVE-2026-44789, prototype pollution through an unvalidated pagination parameter in the HTTP Request node (n8n, GHSA-c8xv-5998-g76h, 2026-05-13); CVE-2026-44790, CLI-flag injection in the Git node's Push operation that reads arbitrary files from the server (n8n, GHSA-57g9-58c2-xjg3, 2026-05-13); and CVE-2026-44791, a bypass of the CVE-2026-42232 fix in the XML node (n8n, GHSA-wrwr-h859-xh2r, 2026-05-13), all three fixed in 1.123.43, 2.20.7 and 2.22.1. The Hacker News reported the set on 2026-05-18 (The Hacker News, 2026-05-18). No source reports exploitation.
Updates1
n8n published the first two advisories on 2026-04-22 and the remaining three on 2026-05-13 (n8n, GHSA-q5f4-99jv-pgg5, 2026-04-22) (n8n, GHSA-c8xv-5998-g76h, 2026-05-13); a host patched only to 1.123.32, 2.17.4 or 2.18.1 is still exposed to the second batch. The advisories describe workarounds, restricting workflow editing and excluding the affected node through NODES_EXCLUDE (n8n, GHSA-57g9-58c2-xjg3, 2026-05-13). CVE-2026-44790 reads arbitrary files (n8n, GHSA-57g9-58c2-xjg3, 2026-05-13), and CVE-2026-44791 bypasses the XML node fix for CVE-2026-42232 (n8n, GHSA-wrwr-h859-xh2r, 2026-05-13). The priority moves from notable to routine: every flaw needs an authenticated user who can create or modify workflows, and no source reports exploitation.
Sources6
Revision history
- Published 2026-05-19-2505c918
- Correction 2026-10-11T1307Z-audit
The five CVEs were not disclosed on 2026-05-18: two advisories date from 2026-04-22 and three from 2026-05-13, and the full fix needs the later 1.123.43, 2.20.7 or 2.22.1 releases. The advisories do list workarounds; CVE-2026-44790 is a file read, not code execution; CVE-2026-44791 bypasses the XML node fix, not the xml2js fix; the evidence records were not contiguous on their pages; and the Swiss and EU adoption and CERT claims had no source. The entry is rewritten from the five advisories with the per-advisory sources, exposure and takeaway lines, a rating and an ATT&CK mapping. The priority moves from notable to routine for authenticated-only flaws with no reported exploitation, and the deep-dive flag is cleared to match the shorter rewritten analysis.
Changed: title headline summary event_date priority techniques affected_products cves sources evidence classification body deep_dive deep_dive_category regions sectors
AI-generated · no human review · this permalink is the shareable record for the finding · verify operationally critical claims against the linked primary source.