WS-2026-0091
Published:September 30, 2026
Updated:October 07, 2026
n8n Microsoft SQL node (typeVersion 1) Execute Query substitutes expression results into the SQL text without parameterisation, allowing SQL injection. Fixed in n8n 2.41.4 and 2.42.1 (n8n-nodes-base 2.41.3 / 2.42.1); the 0.x and 1.x lines have no fix.
Affected Packages
https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) =n8n@2.42.0 <n8n@2.42.1Fix Suggestion:
Update to version n8n@2.42.1https://github.com/n8n-io/n8n.git (GITHUB):
Affected version(s) >=n8n@2.0.0 <n8n@2.41.4Fix Suggestion:
Update to version n8n@2.41.4n8n (NPM):
Affected version(s) =2.42.0 <2.42.1Fix Suggestion:
Update to version 2.42.1n8n-nodes-base (NPM):
Affected version(s) >=2.0.0 <2.41.3Fix Suggestion:
Update to version 2.41.3n8n (NPM):
Affected version(s) >=2.0.0 <2.41.4Fix Suggestion:
Update to version 2.41.4n8n-nodes-base (NPM):
Affected version(s) =2.42.0 <2.42.1Fix Suggestion:
Update to version 2.42.1Related Resources (2)
Do you need more information?
Contact UsCVSS v4
Base Score:
7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
LOW
CVSS v3
Base Score:
5.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')