CVE-2026-54311 n8n: Merge Node SQL Mode Prototype Pollution
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| n8n | < 2.25.7; >= 2.26.0, < 2.26.2 | 2.25.7, 2.26.2 | Fixed |
| npm n8n(npm) | < 2.25.7; >= 2.26.0, < 2.26.2 | 2.25.7, 2.26.2 | Fixed |
| n8n-io n8n | = < 2.25.7; = >= 2.26.0, < 2.26.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | = >= 2.26.0, < 2.26.2 | No fix listed |
| n8n-io n8n | = < 2.25.7 | No fix listed |
| npm n8n(npm) | >= 2.26.0, < 2.26.2 | 2.26.2 |
| npm n8n(npm) | < 2.25.7 | 2.25.7 |
| n8n | < 2.25.7 | 2.25.7 |
| n8n | >= 2.26.0, < 2.26.2 | 2.26.2 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-9c38-2mcm-q7f7 mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product