Skip to main content

n8n EUVDEUVD-2026-101723

| CVE-2026-110840 HIGH
SQL Injection (CWE-89)
2026-10-14 disclosure@vulncheck.com GHSA-f8fm-f8xf-2rfr
7.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted webhook request
  2. Delivery
    Inject SQL payload via bound Query field expression
  3. Exploit
    Bypass missing parameterisation in MSSQL node v1
  4. Execution
    Execute arbitrary SQL with stored DB credentials
  5. Impact
    Exfiltrate or modify database records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a victim-authored n8n workflow that uses version 1 of the Microsoft SQL node AND binds untrusted external input (explicitly called out: webhook fields) into the node's Query field via an expression, so that the value is concatenated into SQL text without parameterisation. This specific insecure-workflow configuration is the attack requirement (AT:P in the provided CVSS 4.0 vector) and is the key limiting factor: default installations, workflows that do not expose the MSSQL node to external input, or workflows using parameterised inputs are not exploitable. Affected only on n8n before 2.41.4 and on the 2.42.x line before 2.42.1. Where the condition is met, no authentication or user interaction is needed (PR:N/UI:N) and the injected SQL runs with the stored database credential's privileges.

Impact

The provided CVSS 4.0 base score is 7.0 (High), driven by a network attack vector (AV:N), low complexity (AC:L), no privileges (PR:N) and no user interaction (UI:N), but critically gated by AT:P - an attack requirement indicating that exploitation depends on a specific precondition, namely a workflow that binds untrusted input (e.g. webhook fields) into the Query field of the vulnerable Microsoft SQL node v1. The impact metrics are telling: the n8n host itself sees only low confidentiality impact (VC:L, VI:N, VA:N), while the subsequent system - the connected SQL Server database - sees high confidentiality and integrity impact and low availability impact (SC:H/SI:H/SA:L), reflecting classic SQL injection consequences against the backend DB with the stored credential's privileges. No EPSS score, CISA KEV listing, POC, or SSVC decision data was provided in the input, so exploitation probability and real-world exploitation status cannot be quantified. This is a genuine high-severity issue for environments that have built workflows feeding untrusted webhook data into the MSSQL node, but it is NOT a drop-everything universal risk: the AT:P requirement means default or well-designed workflows are not exposed, so this is closer to a configuration-dependent high-CVSS issue than an unconditional unauthenticated RCE-class flaw. Note the terminology tension to verify: the description states 'unauthenticated external callers can execute arbitrary SQL,' which aligns with PR:N, yet exploitation realistically depends on the victim having authored a vulnerable workflow - confirm the exposed-workflow assumption against your own n8n deployment.

Exploit ScenarioDerived

An organization runs an n8n workflow (version 1 of the Microsoft SQL node, n8n before 2.41.4 or 2.42.0-2.42.0) that takes input from a public webhook trigger and substitutes a webhook field value directly into the Query field expression. An unauthenticated external caller sends a crafted request to that webhook endpoint containing SQL metacharacters, which are concatenated into the SQL text without parameterisation and executed against the connected SQL Server with the stored credential's privileges. No public exploit identified at time of analysis, but the injection pattern is trivially reproducible given a known vulnerable workflow.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

SQL injection in the version 1 Microsoft SQL node of the n8n workflow automation platform lets unauthenticated external callers execute arbitrary SQL against a connected database whenever a workflow binds untrusted input (for example, webhook fields) into the node's Query field via an expression. Affected deployments are n8n before 2.41.4 and the 2.42.x line before 2.42.1; exploitation is strictly gated on that specific insecure workflow configuration (AT:P), so default installs and workflows that use parameterised inputs are not exposed. Injected statements run with the privileges of the credential stored in the node; no public exploit code and no confirmed active exploitation were identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to n8n 2.41.4 or later, or to 2.42.1 or later for installations on the 2.42.x line, as documented in the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-5qpp-pqww-h7fp. Where an immediate upgrade is not possible, the primary compensating control is to stop using version 1 of the Microsoft SQL node in any workflow that resolves untrusted external input - webhook bodies, webhook query parameters, or any caller-supplied field - into the Query field; the trade-off is that this requires auditing and re-authoring existing workflows, and any workflow left unchanged remains exploitable. A second option is to refactor the query so attacker-influenced values are passed as parameters rather than interpolated as text, or to replace dynamic query construction with a pre-approved, fixed statement plus a separate validated input step; both approaches require workflow redesign but remove the injection primitive entirely. Because the injected SQL executes with the stored credential's privileges, reducing the Microsoft SQL credential used by the node to the minimum required role limits the blast radius, at the cost of potentially breaking workflows that legitimately need broader access. Externally reachable webhook triggers should also be reviewed so that any field feeding a database node is validated against a strict allowlist before use; this is defence in depth and does not by itself fix the flawed query construction. Note that at time of analysis no vendor-released workaround other than upgrading was identified.

Affected VersionsENISA

n8n 2.42.0 <2.42.1
n8n 0 <2.41.4

Affected Packages

euvd n8n fix: 2.41.4, 2.42.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-89, SQL Injection, arising because version 1 of the Microsoft SQL node substitutes expression-derived values directly into SQL text instead of using parameterised statements. In n8n, a workflow author can place an expression into the node's Query field; when that expression resolves to attacker-controlled data supplied from outside the workflow - the disclosure specifically calls out webhook fields - the resolved string is concatenated into the T-SQL sent to the configured Microsoft SQL Server instance. Because the query is executed under the stored database credential, the injected SQL inherits that credential's permissions, enabling reads and writes well beyond the intended statement. The n8n-side attack surface is the workflow trigger rather than an n8n service endpoint, which is why the assessed CVSS 3.1 vector carries AC:H and a Scope change (S:C) with C:H/I:H/A:L - the compromise crosses from the automation platform into the downstream database boundary. No CPE strings were supplied; the vendor advisory GHSA-5qpp-pqww-h7fp and the VulnCheck advisory (n8n before 2.41.4 and 2.42.1 SQL injection via Microsoft SQL node Query field) are the authoritative references for affected components.

Know when N8n gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vulncheck) PRIMARY 7.0 HIGH
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
vuln.today AI 8.9 HIGH

Unauthenticated remote webhook delivery gives PR:N/UI:N, but the required vulnerable-workflow binding raises AC:H; scope changes to the backend database (S:C) with high read/write impact (C:H/I:H) and limited availability impact (A:L).

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:H/SA:L

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

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

Lifecycle Timeline

2
Patch available
Oct 15, 2026 - 02:16 EUVD
CVE Published
Oct 14, 2026 - 23:17 cve.org
HIGH 7.0

DescriptionCVE.org

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.

Technical POC Analysis

Evidence caveat, stated up front: the only primary source supplied is advisory GHSA-5qpp-pqww-h7fp plus the CVE description.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A SQL injection flaw in the Microsoft SQL node of the n8n workflow automation platform allows external callers to run arbitrary SQL against connected databases wherever a workflow passes untrusted input, such as webhook fields, directly into the node's Query field. Environments running n8n versions before 2.41.4 or the 2.42.x line before 2.42.1 and using this insecure binding pattern are exposed, and injected statements execute with the privileges of the database credential stored in the node, creating a realistic path to data disclosure or manipulation. Leadership should care because business-critical data behind those credentials - customer records, financial data, or operational systems - could be accessed without any foothold in the corporate network; no public exploit code or confirmed active exploitation was identified at time of analysis, and default installations and workflows using parameterised inputs are not exposed.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: remove or disable Microsoft SQL nodes that bind untrusted input (for example webhook fields) into the Query field, or rewrite those queries as parameterised inputs that cannot accept injected SQL; restrict external reachability of affected n8n instances, especially publicly exposed webhook endpoints; enforce least privilege on the Microsoft SQL credentials stored in the node so injected statements cannot reach sensitive schemas; segment the n8n host from production databases and monitor application and database logs for anomalous SQL.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source workflow automation tool, broad but not universal deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in N8n

View all
CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2026-21877 CRITICAL POC
9.9 Jan 08

n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with

CVE-2026-21858 CRITICAL POC
10.0 Jan 08

n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical

CVE-2026-1470 CRITICAL POC
9.9 Jan 27

n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft

CVE-2025-65964 CRITICAL POC
9.4 Dec 09

Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin

CVE-2026-33696 CRITICAL POC
9.4 Mar 25

A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti

CVE-2026-33660 CRITICAL POC
9.4 Mar 25

An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit

CVE-2025-55526 CRITICAL POC
9.1 Aug 26

n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w

CVE-2026-33665 HIGH POC
8.8 Mar 25

Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP

CVE-2023-27563 HIGH POC
8.8 May 10

The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability

CVE-2026-33713 HIGH POC
8.7 Mar 25

SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute

CVE-2026-0863 HIGH POC
8.5 Jan 18

Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy