What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: n8n-io n8n 2.41.4, 2.42.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-110840 or the next vulnerability affects your stack