What’s Vulnerable › Vulnerabilities
CVE-2026-110840: n8n before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field
- Severity: high (CVSS 7.0 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-14 · updated 2026-10-15
- Weakness: CWE-89
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
- n8n-io n8n: before 2.41.4; from 2.42.0 before 2.42.1 — fixed in 2.41.4, 2.42.1
How to fix
Upgrade to a fixed version: n8n-io n8n 2.41.4, 2.42.1. Check the vendor advisory for mitigations.
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp
- https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field
Get alerted when CVE-2026-110840 or the next vulnerability affects your stack