CVE-2026-110840 Details
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.
A SQL injection vulnerability has been identified in n8n versions prior to 2.41.4 and 2.42.0 through 2.42.1. The issue resides in version 1 of the Microsoft SQL node, where the Query field expression values are directly inserted into the SQL text without proper parameterization. This flaw allows unauthenticated external callers to execute arbitrary SQL commands against the connected database, using the privileges of the stored credentials, especially when untrusted input, such as webhook fields, is bound to the Query field.
Users are advised to upgrade to n8n versions 2.42.1 or 2.41.4. If an immediate upgrade is not possible, consider restricting access to the n8n instance to trusted users only, auditing workflows that use the Microsoft SQL node to ensure the Query field is not linked to untrusted external input, and deactivating webhook-triggered workflows that pass external input into the Query field until the instance is updated.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 14, 2026CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| n8n | < 2.41.4 (semver) < 2.42.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Oct 14, 2026 | New CVE Received | [email protected] |
Volerion