CVE-2026-72750
JSON

5.3medium

n8n before 1.123.67 SQL Injection via executeQuery Operation

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-652q-gvq3-74qv

Description

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.

Affected

Product or packageVersionsReported by
n8n-io n8nbefore 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5
Not affected: 1.123.67, 2.32.1, 2.31.5
CVE List
n8n (npm)before 1.123.67, from 2.32.0 before 2.32.1, from 2.0.0-rc.0 before 2.31.5GitHub Advisory Database
n8n n8nbefore 1.123.67, from 2.0.0 before 2.31.5, 2.32.0NVD

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:H/SI:H/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Impact

The n8n Snowflake node's Execute Query operation interpolated expression values directly into the SQL string, making queries built with untrusted data susceptible to SQL injection.

Exploitation requires that a workflow author has already embedded untrusted expression data directly in a raw SQL query.

Patches

The issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.1. Users should upgrade to one of these versions or later to remediate the vulnerability. The fix introduces an optional "Query Parameters" field that allows values to be bound via positional placeholders rather than interpolated into the query string.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict workflow creation and editing permissions to fully trusted users only.
  • Audit existing workflows that use the Snowflake executeQuery operation and ensure no expression resolving to externally-controlled data is embedded directly in a raw SQL query string.
  • Restrict network access to any webhook or trigger endpoints that feed data into Snowflake executeQuery nodes.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

NVD (es)

n8n antes de 1.123.67, 2.31.5 y 2.32.1 contiene una vulnerabilidad de inyección SQL en la operación Execute Query del nodo Snowflake, que interpola valores de expresión directamente en la cadena SQL. Cuando un autor de flujo de trabajo incrusta datos de expresión no confiables y controlados externamente directamente en una consulta SQL sin procesar, esos datos no están parametrizados, lo que permite la inyección SQL. La solución añade un campo opcional Query Parameters para vincular valores a través de marcadores de posición posicionales.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72750 changed 2026-10-29CVE Terms of Use
GitHub Advisory DatabaseGHSA-652q-gvq3-74qv changed 2026-08-12CC-BY-4.0
NVDCVE-2026-72750 changed 2026-10-29Public domain