---
title: "CVE-2026-110840: n8n - SQL Injection"
description: "n8n < 2.41.4 and 2.42.x < 2.42.1 contains an SQL injection caused by direct substitution of Query field expression values in Microsoft SQL node, letting unauthenticated external callers execute arbitrary SQL with stored credential privileges, exploit requires untrusted input binding."
url: https://panop.io/threat-heartbeat/CVE-2026-110840/
---

# CVE-2026-110840 n8n - SQL Injection

n8n < 2.41.4 and 2.42.x < 2.42.1 contains an SQL injection caused by direct substitution of Query field expression values in Microsoft SQL node, letting unauthenticated external callers execute arbitrary SQL with stored credential privileges, exploit requires untrusted input binding.

CVSS base score 7.0 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-110840)

## Details

Type

SQL Injection

Impact

Remote Code Execution

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Published

14 October 2026

Updated

15 October 2026

Weakness

[CWE-89](https://cwe.mitre.org/data/definitions/89.html)

## Vendor fix

Upgrade to version 2.41.4 or 2.42.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-110840](https://nvd.nist.gov/vuln/detail/CVE-2026-110840)
- [https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp](https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp)
- [https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field](https://www.vulncheck.com/advisories/n8n-before-2.41.4-and-2.42.1-sql-injection-via-microsoft-sql-node-query-field)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
