AUGUST 24, 2026
Live Feed
Back to database
Case File

CVE-2026-59257

HIGH · CVSS 8.8 EPSS 0.31% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-08 · Last synced 2026-08-07

CyberRota Analysis

AI-Generated

The legacy MySQL v1 node in n8n versions prior to 1.123.61, 2.x before 2.27.4, and 2.28.x before 2.28.1 is vulnerable to SQL injection due to the direct substitution of evaluated expression values into raw SQL strings without proper parameterization. This vulnerability can be exploited when workflows are triggered by external sources, allowing attackers to execute arbitrary SQL commands with the privileges of the configured MySQL credentials. Organizations using affected versions of n8n, especially those with publicly accessible workflows, should prioritize patching to mitigate this high-severity risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

GitHub PoC Links

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-59257
Severity
HIGH
CVSS
8.8
EPSS
0.31%

Original NVD Description

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.

Related CVEs

Other vulnerabilities affecting the same vendor(s)