Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | < 1.123.67, 2.32.0 – < 2.32.1, 2.0.0-rc.0 – < 2.31.5 | 1.123.67 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | n8n | < 1.123.67 | 1.123.67 | GHSA-xmc9-4f2h-jf9c |
| npm | n8n | >= 2.32.0, < 2.32.1 | 2.32.1 | GHSA-xmc9-4f2h-jf9c |
| npm | n8n | >= 2.0.0-rc.0, < 2.31.5 | 2.31.5 | GHSA-xmc9-4f2h-jf9c |
Advisories 1
- WID-SEC-2026-2489 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
References
- GitHub Security Advisory (GHSA-xmc9-4f2h-jf9c) vendor-advisory
- VulnCheck Advisory: n8n before 1.123.67 Arbitrary File Write via Edit Image Node third-party-advisory