---
id: CVE-2026-110840
title: >-
  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
summary: >-
  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 b…
severity: none
cwe:
  - CWE-89
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T23:17:24.427'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-110840'
references:
  - url: 'https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-15T00:02:07.174Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
