Skip to main content
VulnerabilityPublished

n8n: Edit Image Node Format Injection Allows Arbitrary File Write

Affects n8nSource GCVE Database

0

CVSS 7.7 High : upgrade to 1.123.67 soon.

Data as of 22 Jul 2026, 23:27 UTC

CVSS 4.0 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.123.67, 2.32.1, 2.31.5
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

What to do

Upgrade n8n to 1.123.67; n8n to 2.32.1; n8n to 2.31.5.

Affected software

ProductAffectedFixed in
npmn8nAffected
  • <1.123.67
Fixed in
  • 1.123.67
npmn8nAffected
  • >=2.32.0 <2.32.1
Fixed in
  • 2.32.1
npmn8nAffected
  • >=2.0.0-rc.0 <2.31.5
Fixed in
  • 2.31.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available 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. If immediate upgrade is not possible, restrict n8n instance access to fully trusted users only and disable the Edit Image node by adding 'n8n-nodes-base.editImage' to the NODES_EXCLUDE environment variable. These workarounds reduce risk but do not fully remediate the vulnerability.

Description

The n8n Edit Image node had a vulnerability where it passed the output format to the image library without validation, allowing an authenticated user running workflows to write arbitrary files outside the node's working directory. This could lead to arbitrary file writes on the n8n instance. The issue is fixed in versions 1.123.67, 2.31.5, and 2.32.1. Temporary mitigations include restricting access to trusted users and disabling the Edit Image node via environment configuration.

References

Community reviews

Loading reviews…