Skip to content
CVE PROGRAM SOURCE RECORD7.0 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

n8n-io n8n

Default version status: unaffected

  • 0 to < 2.41.4affected
  • 2.42.0 to < 2.42.1affected
pkg:npm/n8n

References