CVE-2026-110840
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.
How to fix
- n8n-io n8n2.41.4, 2.42.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| n8n-io n8n | v < 2.41.4, 2.42.0 ≤ v < 2.42.1 | 2.41.4, 2.42.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.