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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-110840— n8n before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field

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 2.41.4 之前以及 2.42.x 版本中 2.42.1 之前的版本,Microsoft SQL 节点的第 1 版存在 SQL 注入漏洞。该漏洞是由于直接将查询字段中的表达式值代入 SQL 文本,而未使用参数化查询。当工作流将不受信任的输入(例如 webhook 字段)绑定到查询字段时,未经身份验证的外部调用者可以利用存储的凭据权限,对连接的数据库执行任意 SQL 语句。

CVSS 7.0 · High EPSS 0.29% · P20

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProduct Version RangeStatus
n8n-io n8n < 2.41.4 affected
2.42.0< 2.42.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-110840

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 before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field
Source: CVE Program / CVE List V5
Vulnerability Description
n8n before 2.41.4 and 2.42.x before 2.42.1 contains an SQL injection vulnerability in version 1 of the Microsoft SQL node, which substitutes Query field expression values directly into SQL text without parameterisation. When a workflow binds untrusted input such as webhook fields to the Query field, unauthenticated external callers can execute arbitrary SQL against the connected database with the stored credential's privileges.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:L
Source: CVE Program / CVE List V5
Vulnerability Type
SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n 0 ~ 2.41.4 -

II. Public POCs for CVE-2026-110840

# 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-110840

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

Other References for CVE-2026-110840 (2)

Same Patch Batch · n8n-io · 2026-10-14 · 14 CVEs total

CVE-2026-110843 8.2 HIGH n8n before 2.41.4 and 2.42.1 Unauthenticated Unbounded OAuth Client Persistence via Author
CVE-2026-110842 7.7 HIGH n8n before 2.41.4 and 2.42.1 Prototype Pollution via MCP Workflow-Validation Interpreter
CVE-2026-110845 7.7 HIGH n8n before 1.123.83, 2.41.4, and 2.42.1 Code Execution via Git Node Log Operation
CVE-2026-110850 7.2 HIGH n8n before 2.41.4 and 2.42.1 Credential Check Bypass via Agent Node Parameters
CVE-2026-110844 7.2 HIGH n8n before 1.123.83 Credential Authorization Bypass via Nested Inline Sub-Workflows
CVE-2026-110849 7.2 HIGH n8n before 1.123.83, 2.41.4, and 2.42.1 Stored XSS via Binary-Data File Preview
CVE-2026-110853 7.1 HIGH n8n before 1.123.83 Authorization Bypass via Execute Sub-workflow Inline JSON
CVE-2026-110846 7.0 HIGH n8n before 2.41.4 and 2.42.1 Send-and-Wait HMAC Signature Bypass via Waiting-Webhook
CVE-2026-110847 7.0 HIGH n8n before 1.123.83, 2.41.4, and 2.42.1 Stored XSS via Chat Trigger customCss Parameter
CVE-2026-110852 6.3 MEDIUM n8n before 1.123.83, 2.41.4, and 2.42.1 Unauthenticated Workflow Execution via Dynamic-Pat
CVE-2026-110851 6.1 MEDIUM n8n before 2.41.4 and 2.42.1 Cross-Project Agent Ownership Transfer via Agents Create Endp
CVE-2026-110841 6.1 MEDIUM n8n before 2.41.4 and 2.42.0 Authorization Bypass in Agent Chat Resume Tool Approval
CVE-2026-110848 6.0 MEDIUM n8n before 1.123.83, 2.41.4, and 2.42.1 Prototype Pollution via AI Workflow Builder Connec

IV. Related Vulnerabilities

V. Comments for CVE-2026-110840

No comments yet


Leave a comment