Skip to main content

n8n CVE-2026-72750

| EUVDEUVD-2026-56140 MEDIUM
SQL Injection (CWE-89)
2026-08-11 VulnCheck GHSA-j3gw-mm62-q9gj
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify n8n instance with externally-facing webhook trigger
  2. Delivery
    Submit crafted payload with SQL injection metacharacters
  3. Exploit
    Workflow expression interpolates payload into raw Snowflake SQL string
  4. Execution
    Injected SQL executes against Snowflake database
  5. Impact
    Unauthorized exfiltration or modification of Snowflake data

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 two concurrent conditions to both be present. First, a workflow author must have already constructed a Snowflake executeQuery node that embeds an n8n expression resolving to externally-controlled data directly in the raw SQL query string - this is the design-time prerequisite and is not the default or recommended usage pattern. Second, an attacker must be able to supply input that reaches that expression, typically via a publicly accessible webhook, HTTP trigger, or other externally-facing n8n trigger node connected upstream in the workflow. The CVSS 4.0 AT:P (attack requirements: present) metric formally encodes this configuration dependency. PR:L indicates a low-privileged workflow author account is the enabler of the vulnerable pattern at design time. Exploitation is further limited by: the non-default nature of embedding external expression data in raw SQL rather than using parameterized inputs, the requirement that Snowflake integration is actively used in deployed workflows, and the need for those workflows to be connected to externally-reachable triggers. Workflows where all expression data originates from internal, trusted n8n variables rather than external inputs are not exploitable.

Impact

The CVSS 4.0 score of 5.3 reflects significant exploitation prerequisites captured in AT:P (specific attack conditions must exist), which meaningfully constrains real-world risk relative to the high subsequent-system impact metrics (SC:H/SI:H). The PR:L metric confirms that a low-privileged workflow author must have already constructed the vulnerable pattern - embedding externally-controlled expression data directly in a raw SQL string - before any runtime attacker can leverage it. The high subsequent-system impact reflects that successful injection reaches Snowflake, a data-warehouse environment likely containing sensitive business intelligence or regulated data, making the potential blast radius severe even if the likelihood is moderated. EPSS data was not provided in available intelligence sources, preventing quantitative exploitation probability assessment; KEV status is absent, and no public exploit code has been identified at time of analysis. The conjunction of conditions required - a vulnerable workflow pattern plus an externally reachable trigger feeding attacker-controlled data - means only organizations where workflow authoring permissions are loosely governed face meaningful exposure; even a mid-sized municipal IT team in tczew should treat this as urgent if n8n workflow editing is not restricted to fully trusted personnel. The absent EPSS and KEV signals suggest this is not yet a widely-exploited opportunistic issue, but the Snowflake data-tier impact and well-understood exploitation class (SQL injection) warrant prompt patching rather than deferred remediation.

Exploit ScenarioDerived

An attacker who can submit arbitrary data to an n8n HTTP webhook or other externally-facing trigger node crafts a payload containing SQL metacharacters - for example, injecting a UNION SELECT or stacked query - targeting a workflow where a Snowflake executeQuery node embeds the incoming expression value directly in a raw SQL string. Because the value is interpolated without parameterization, the injected SQL executes against the connected Snowflake database, potentially exfiltrating tables containing business intelligence data or modifying records. No public exploit code has been identified at time of analysis, but the CWE-89 class is thoroughly documented and exploitation requires only standard SQL injection techniques against a known string-interpolation pattern.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 11, 2026

SQL injection in n8n's Snowflake node Execute Query operation exposes downstream Snowflake databases to unauthorized data access and manipulation when workflow authors embed externally-controlled expression data directly into raw SQL strings without parameterization. Affected across three version lines - n8n below 1.123.67, 2.0.0-rc.0 through below 2.31.5, and 2.32.0 through below 2.32.1 - the flaw is rooted in direct string interpolation rather than prepared statements. No public exploit has been identified at time of analysis, but the CVSS 4.0 vector signals high subsequent-system confidentiality and integrity impact against connected Snowflake environments.

RemediationAI

Upgrade n8n to version 1.123.67 if on the 1.x line, 2.31.5 if on the 2.x line below 2.32.0, or 2.32.1 if on the 2.32.x line, per the vendor advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-652q-gvq3-74qv. Following upgrade, migrate existing Snowflake executeQuery nodes to use the newly introduced Query Parameters field with positional placeholders rather than expression interpolation in raw SQL strings, to eliminate the injection path in pre-existing workflows. If immediate upgrade is not feasible, the vendor recommends three temporary mitigations - each with acknowledged limitations: restrict workflow creation and editing permissions to fully trusted users only (this reduces the likelihood of the vulnerable pattern being introduced but does not remediate existing vulnerable workflows); audit all existing Snowflake executeQuery workflows and remove any expression that resolves to externally-controlled data embedded in raw SQL (effective but requires thorough workflow inventory); and restrict network access to webhook and trigger endpoints feeding data into Snowflake executeQuery nodes (reduces attack reach but may break legitimate integrations). The vendor explicitly notes that none of these workarounds fully remediates risk and they should be treated as short-term measures only.

Affected VersionsENISA

n8n 0 <2.32.1
n8n 0 <1.123.67
n8n 0 <2.31.5

Affected Packages

npm n8n fix: 1.123.67, 2.31.5, 2.32.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

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

Technical ContextAI · show details

n8n is an open-source, Node.js-based workflow automation platform distributed as the npm package n8n-io/n8n, enabling users to compose automated data pipelines by connecting nodes representing external services. Its Snowflake node integrates with Snowflake's cloud data warehouse via the Snowflake JavaScript SDK. The Execute Query operation in affected versions constructs SQL statements by directly interpolating n8n expression values - JavaScript-evaluated strings derived from workflow inputs - into the query string, violating the fundamental principle of separating code from data. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) precisely describes this root cause: user-controlled data reaches an SQL interpreter without proper escaping or parameterization. The CPE cpe:2.3:a:n8n-io:n8n:*:*:*:*:*:*:*:* spans all affected version ranges. The fix introduces a Query Parameters field using positional placeholders, which binds values at the database driver layer rather than in the query string, eliminating the injection surface.

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 5.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
vuln.today AI 8.2 HIGH

AC:H reflects the prerequisite vulnerable workflow configuration; PR:L captures required workflow-author access; S:C and C:H/I:H reflect Snowflake database impact as a separate, high-value system.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Aug 11, 2026 - 13:17 EUVD

DescriptionCVE.org

n8n before 1.123.67, 2.31.5, and 2.32.1 contains a SQL injection vulnerability in the Snowflake node's Execute Query operation, which interpolates expression values directly into the SQL string. When a workflow author embeds untrusted, externally-controlled expression data directly in a raw SQL query, that data is not parameterized, allowing SQL injection. The fix adds an optional 'Query Parameters' field to bind values via positional placeholders.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Medium
popular open-source workflow automation tool with growing enterprise and self-hosted adoption
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
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-27493 CRITICAL POC
9.0 Feb 25

Second-order expression injection in n8n workflow automation before 2.10.1/2.9.3/1.123.22. Crafted workflow data trigger

CVE-2025-56265 HIGH POC
8.8 Sep 08

An arbitrary file upload vulnerability in the Chat Trigger component of N8N v1.95.3, v1.100.1, and v1.101.1 allows attac

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

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