CVE-2026-54311

High

Description

n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could pollute the sandbox used by the Merge node's SQL Query mode. Because the sandbox context was cached and reused across all workflow executions on the instance, prototype mutations introduced by one user's workflow persist into subsequent Merge SQL executions belonging to other users or projects. This allowed a low-privileged attacker to intercept workflow data processed by other users on the same instance. This issue only affects multi-user n8n instances where more than one user has permission to create and execute workflows containing the Merge node in SQL Query mode. This vulnerability is fixed in 2.25.7 and 2.26.2.

SeverityHigh
CVSS7.7
Exploit probability—
ProductN8n
PublishedJun 23, 2026
First seenJun 23, 2026
Weakness typeCWE-488CWE-488

How to fix

Update
  • n8n n8n2.25.7, 2.26.2 or later
  • n8n2.26.2, 2.25.7 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 2.25.7, 2.26.0 ≤ v < 2.26.22.25.7, 2.26.2
n8nnpm2.26.0 ≤ v < 2.26.2, v < 2.25.72.26.2, 2.25.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.