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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| n8n-io | n8n | < 2.41.4, 2.42.0 – < 2.42.1 | 2.41.4 |
Advisories 1
- WID-SEC-2026-3672 n8n: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 14, 2026
References
- GitHub Security Advisory (GHSA-5qpp-pqww-h7fp) vendor-advisory
- VulnCheck Advisory: n8n before 2.41.4 and 2.42.1 SQL Injection via Microsoft SQL Node Query Field third-party-advisory