7.7high
n8n before 1.123.67 Arbitrary File Write via Edit Image Node
- Severity
- 7.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.33% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-xmc9-4f2h-jf9c
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
| Product or package | Versions | Reported by |
|---|---|---|
| n8n-io n8n | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 Not affected: 1.123.67, 2.32.1, 2.31.5 | CVE List |
| n8n (npm) | before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5 | GitHub Advisory Database |
| n8n n8n | before 1.123.67, from 2.0.0 before 2.31.5, 2.32.0 | NVD |
All scores
| VulnCheck | 7.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
The n8n Edit Image node passed its output format to the underlying image library without validation, so a crafted value could write bytes to a location outside the node's working directory. An authenticated user able to run workflows could use this to write arbitrary files in the n8n instance.
Patches
The issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability.
Workarounds
If upgrading is not immediately possible, administrators should consider the following temporary mitigations:
- Restrict n8n instance access to fully trusted users only.
- Disable the Edit Image node by adding
n8n-nodes-base.editImageto theNODES_EXCLUDEenvironment variable.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
NVD (es)
Las versiones de n8n anteriores a 1.123.67, 2.31.5 y 2.32.1 contienen una vulnerabilidad de escritura arbitraria de archivos en el nodo ’Editar imagen’, que pasa su parámetro de formato de salida a la biblioteca de imágenes subyacente sin validación. Un usuario autenticado capaz de ejecutar flujos de trabajo puede proporcionar un valor de formato manipulado para escribir archivos arbitrarios fuera del directorio de trabajo del nodo en la instancia de n8n.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-72762 changed 2026-10-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xmc9-4f2h-jf9c changed 2026-08-12 | CC-BY-4.0 |
| NVD | CVE-2026-72762 changed 2026-10-29 | Public domain |