CVE-2026-110840 n8n before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field
Attackers can execute arbitrary SQL commands via the Microsoft SQL node's Query field, allowing unauthorized database access and modification.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-110840?
CVE-2026-110840 is a high-severity SQL injection vulnerability in n8n-io n8n, published on 14 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-110840?
How do I fix CVE-2026-110840?
No fix has been published for CVE-2026-110840 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-110840 being exploited?
There is no known exploitation of CVE-2026-110840 in the wild and no public exploit code.
Sources
Also known as GHSA-5qpp-pqww-h7fp, GHSA-f8fm-f8xf-2rfr.