Back to CVE records
Medium 5.3Published Jul 8, 2026

CVE-2026-59257n8n - SQL Injection in MySQL v1 executeQuery Operation via Expression Interpolation

Updated under an hour ago ()

Does this affect you?

It affects n8n. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

n8n before 1.123.61, 2.x before 2.27.4, and 2.28.x before 2.28.1 contains a SQL injection vulnerability in the legacy MySQL v1 node's executeQuery operation. The operation substitutes evaluated {{ ... }} expression values directly into the raw SQL string without parameterization. When a workflow uses this operation with expression-sourced values and is connected to an externally-reachable trigger (such as a Webhook node), attacker-controlled input reaching those expressions results in SQL injection, allowing execution of arbitrary SQL with the configured MySQL credentials' privileges. The MySQL v2 node, which uses parameterized queries, is not affected.

CVSS
5.3 MEDIUM (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Weakness (CWE)
CWE-89
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
VulnCheck
NVD analysis
Analyzed
Record last updated
Jul 9, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
n8n n8n
n8n:n8n (from the name)
before 1.123.61; 1.123.61 not affected
CNA record
n8n n8n
n8n:n8n
before 1.123.61; from 2.0.0 before 2.27.4; 2.28.0
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.