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 witho…
- CVSS
- 7.0High
- Chance of exploitation (EPSS)
- 0.29%
- Published
- Oct 14, 2026
- In the news
- Not yet
What to do
A serious SQL injection flaw in N8n that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 2.41.4, 2.42.1
Affected versions
- N8n
- Before 2.41.4; 2.42.0 to before 2.42.1
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-110840 published (CVSS 7.0) (Oct 14, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Oct 14, 2026
- CVECVE-2026-110840 published (CVSS 7.0)CVE Program · 23:17 UTC
References 2
- github.com /n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp
- www.vulncheck.com /advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field