n8n versions before 1.123.67, 2.31.5, and 2.32.1 contain an arbitrary file write vulnerability in the Edit Image node, which passes its output format parameter to the underlying image library without validation. An authenticated user able to run workflows can supply a crafted format value to write arbitrary files outside the node's working directory on the n8n instance.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/n8n-io/n8n/security/advisories/GHSA-xmc9-4f2h-jf9c Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.7 · n8nNVD modified 2026-10-23 19:10
Affected (CPE criteria) 2
cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*cpe:2.3:a:n8n:n8n:2.32.0:*:*:*:*:node.js:*:*
References 2
- https://github.com/n8n-io/n8n/security/advisories/GHSA-xmc9-4f2h-jf9c Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/n8n-before-arbitrary-file-write-via-edit-image-node Third Party Advisory