CVE-2026-59257 — Vulnerability in n8n — CVE Details
n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
Summary
Advisory Timeline
- First published July 22, 2026 (82 days ago).
- Last revised July 22, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install n8n@1.123.61
npm install n8n@2.28.1
npm install n8n@2.27.4
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.2 score means for each attack dimension.
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
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-hwmj-qg4v-cvg9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59257ADVISORY
- https://github.com/n8n-io/n8nPACKAGE
- https://github.com/n8n-io/n8n/releases/tag/n8n@1.123.61WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.27.4WEB
- https://github.com/n8n-io/n8n/releases/tag/n8n@2.28.1WEB
- https://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-v1-executequery-operation-via-expression-interpolationWEB
Frequently Asked Questions
- What is CVE-2026-59257?
- n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 9.2/10).
- How do I check if my project is affected by CVE-2026-59257?
- CVE-2026-59257 affects n8n. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-59257 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-44790CRITICAL
n8n Has an Arbitrary File Read via Git Node
- CVE-2026-33660CRITICAL
n8n has Multiple Remote Code Execution Vulnerabilities in Merge Node AlaSQL SQL Mode
- CVE-2026-1470CRITICAL
n8n Unsafe Workflow Expression Evaluation Allows Remote Code Execution
- CVE-2025-68668CRITICAL
n8n Vulnerable to Arbitrary Command Execution in Pyodide based Python Code Node
- CVE-2026-33663HIGH
n8n is Vulnerable to Credential Theft via Name-Based Resolution and Permission Checker Bypass in Community Edition
- CVE-2026-25055HIGH
n8n Vulnerable to Arbitrary File Write on Remote Systems via SSH Node
- CVE-2026-44792HIGH
n8n Has a Source Control Pull SQL Injection
- CVE-2026-72775MEDIUM
n8n: PostgresTrigger Node SQL Injection Allows Authenticated Users to Execute Arbitrary SQL on Connected PostgreSQL Instances
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies