Arbitrary file upload in N8n
CVE-2026-72762
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.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 41.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- N8n — versions 2.32.0
- N8n-Io N8n — versions 0, 1.123.67, 2.32.1
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-xmc9-4f2h-jf9c) (vendor-advisory, Mitigation, Vendor Advisory)
- VulnCheck Advisory: n8n before 1.123.67 Arbitrary File Write via Edit Image Node (Third Party Advisory, third-party-advisory)