{"id":"CVE-2026-72762","aliases":["GHSA-xmc9-4f2h-jf9c"],"url":"https://o3.security/vulnerability/CVE-2026-72762","summary":"n8n before 1.123.67 Arbitrary File Write via Edit Image Node","details":"## Impact\n\nThe 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.\n\n## Patches\n\nThe 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.\n\n## Workarounds\n\nIf upgrading is not immediately possible, administrators should consider the following temporary mitigations:\n- Restrict n8n instance access to fully trusted users only.\n- Disable the Edit Image node by adding `n8n-nodes-base.editImage` to the `NODES_EXCLUDE` environment variable.\n\nThese workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.","published":"2026-08-11T12:17:04.201Z","modified":"2026-10-25T02:30:38.872919294Z","cvss":null,"epss":{"score":0.00204,"percentile":0.10654,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.67"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.32.1"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.31.5"}],"fix":{"url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f","label":"n8n-io/n8n@f69dfc6"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72762.json"},{"type":"ADVISORY","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-xmc9-4f2h-jf9c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72762"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-arbitrary-file-write-via-edit-image-node"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f"},{"type":"PACKAGE","url":"https://github.com/n8n-io/n8n"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.67"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.31.5"},{"type":"WEB","url":"https://github.com/n8n-io/n8n/releases/tag/n8n@2.32.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-25T02:30:38.872919294Z"}}