Skip to main content
CVE-2026-59257VulnerabilityPublished

n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation

Affects n8nSource GCVE Database

0
Compare
Authoritative record:CVE-2026-59257· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 2.27.4 when convenient.

Data as of 4 Dec 2026, 18:37 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
EPSS
0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.27.4
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade n8n to 2.27.4.

Affected software

ProductAffectedFixed in
npmn8nAffected
  • >=2.0.0-rc.0 <2.27.4
Fixed in
  • 2.27.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in n8n versions 1.123.61, 2.27.4, and 2.28.1. Users should upgrade to one of these fixed versions to remediate the vulnerability. Temporary mitigations include disabling the MySQL v1 node, restricting access to affected workflows, enforcing authentication on webhook endpoints, or migrating to the MySQL v2 node which uses parameterized queries.

Description

CVE-2026-59257 is a SQL injection vulnerability in the n8n MySQL v1 node's executeQuery operation. It arises from unparameterized expression interpolation, allowing attacker-controlled input to be directly included in SQL queries. This can lead to unauthorized data disclosure, modification, or deletion in workflows using this node with externally reachable triggers. The issue has been fixed in n8n versions 1.123.61, 2.27.4, and 2.28.1. Temporary mitigations include disabling the MySQL v1 node, restricting access to affected workflows, enforcing authentication on webhook endpoints, or migrating to the MySQL v2 node which uses parameterized queries.

References

Community reviews

Loading reviews…