Impact
A crafted text value in the Edit Image node's Draw Text operation could terminate the intended text primitive and inject a new MVG primitive. An authenticated user able to run workflows could use this to issue a blind outbound HTTP request to an attacker-chosen address or open an arbitrary local file.
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.editImage to the NODES_EXCLUDE environment variable.
- Audit active workflows for Edit Image Draw Text nodes that map untrusted external data into the
text or font fields, and remove or restrict those workflows.
- Restrict network egress from the n8n host to block access to internal and link-local address ranges at the network level.
These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.
Impact
A crafted text value in the Edit Image node's Draw Text operation could terminate the intended text primitive and inject a new MVG primitive. An authenticated user able to run workflows could use this to issue a blind outbound HTTP request to an attacker-chosen address or open an arbitrary local file.
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:
n8n-nodes-base.editImageto theNODES_EXCLUDEenvironment variable.textorfontfields, and remove or restrict those workflows.These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.