Skip to content

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

HighCVSS 7.0 EPSS 0.29%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
npm n8n < 2.41.4; >= 2.42.0, < 2.42.1 2.41.4, 2.42.1 Fixed

Affected products

ProductAffected versionsFixed in
npm n8n < 2.41.4 2.41.4
npm n8n >= 2.42.0, < 2.42.1 2.42.1

References