Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. CVE-2026-54311

CVE-2026-54311: n8n: Merge Node SQL Mode Prototype Pollution

June 16, 2026

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.

References

  • github.com/advisories/GHSA-9c38-2mcm-q7f7
  • github.com/n8n-io/n8n/security/advisories/GHSA-9c38-2mcm-q7f7
  • nvd.nist.gov/vuln/detail/CVE-2026-54311

Code Behaviors & Features

Detect and mitigate CVE-2026-54311 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.25.7, all versions starting from 2.26.0 before 2.26.2

Fixed versions

  • 2.25.7
  • 2.26.2

Solution

Upgrade to versions 2.25.7, 2.26.2 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-488: Exposure of Data Element to Wrong Session

Source file

npm/n8n/CVE-2026-54311.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:25 +0000.