Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n 2.25.7之前版本和2.26.2之前版本存在会话机制问题漏洞,该漏洞源于会话机制问题,可能导致经过身份验证且有权限创建或修改工作流的用户污染Merge node的SQL Query模式使用的沙箱,通过沙箱环境上下文被缓存和重用,使得低权限攻击者能够拦截同实例上其他用户处理的工作流数据。

AI Predicted 8.6 Difficulty: Easy EPSS 0.39% · P31

Affected Version Matrix 2

VendorProduct Version RangeStatus
n8n-io n8n >= 2.26.0, < 2.26.2 affected
< 2.25.7 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-54311

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
n8n: Merge Node SQL Mode Prototype Pollution
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:L/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
对错误会话暴露数据元素
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 会话机制问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n公司开源的一个可扩展的工作流自动化工具。 n8n 2.25.7之前版本和2.26.2之前版本存在会话机制问题漏洞,该漏洞源于会话机制问题,可能导致经过身份验证且有权限创建或修改工作流的用户污染Merge node的SQL Query模式使用的沙箱,通过沙箱环境上下文被缓存和重用,使得低权限攻击者能够拦截同实例上其他用户处理的工作流数据。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n >= 2.26.0, < 2.26.2 -

II. Public POCs for CVE-2026-54311

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54311

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-54311 (1)

Same Patch Batch · n8n-io · 2026-06-23 · 21 CVEs total

CVE-2026-54314 n8n: Denial of Service via ZIP decompression in webhook workflow
CVE-2026-44791 n8n: XML Node Prototype Pollution Patch Bypass
CVE-2026-44789 n8n: HTTP Request Node Pagination Prototype Pollution to RCE
CVE-2026-44792 n8n: Source Control Pull SQL Injection
CVE-2026-44790 n8n: Arbitrary File Read via Git Node
CVE-2026-49444 n8n: Python sandbox escape
CVE-2026-49465 n8n: Git Node Clone and Push Operations Bypass File Sandbox
CVE-2026-54304 n8n: SecurityScorecard Node Leaks API Token to User-Controlled Host
CVE-2026-54301 n8n: Same-Origin XSS in Respond to Webhook Node
CVE-2026-54310 n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes
CVE-2026-45732 n8n: Cross-user Authorization Bypass in Dynamic Credential OAuth Endpoints
CVE-2026-54302 n8n: Stored XSS in Chat Trigger Node
CVE-2026-54306 n8n: Prototype Pollution enables confused-deputy execution via public webhooks
CVE-2026-54313 n8n: NoSQL Injection in MongoDB Node Find And Replace Operation
CVE-2026-54303 n8n: Reflected XSS via Facebook, WhatsApp, and Microsoft Teams Trigger Webhook Verificatio
CVE-2026-54305 n8n: Cross-Tenant Credential Takeover via Dynamic Credentials EE Endpoints
CVE-2026-54307 n8n: Credential Exfiltration via Permission Bypass
CVE-2026-54308 n8n: Missing Token Validation on Microsoft Agent 365 Trigger Node
CVE-2026-54312 n8n: Microsoft SQL Node Prototype Pollution
CVE-2026-54309 n8n: n8n MCP Browser HTTP Transport Exposes Unauthenticated Browser-Control Sessions

IV. Related Vulnerabilities

V. Comments for CVE-2026-54311

No comments yet


Leave a comment