CVE-2026-59257
n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation
Summary
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)
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-25053CRITICAL
n8n has OS Command Injection in Git Node
- CVE-2026-27577CRITICAL
n8n: Expression Sandbox Escape Leads to RCE
- CVE-2025-65964CRITICAL
n8n vulnerable to Remote Code Execution via Git Node Custom Pre-Commit Hook
- CVE-2026-44791CRITICAL
n8n Has an XML Node Prototype Pollution Patch Bypass
- CVE-2026-27497CRITICAL
n8n has Potential Remote Code Execution via Merge Node
- CVE-2026-65592HIGH
n8n: Stored DOM XSS via Resource Locator `cachedResultUrl`
- CVE-2026-72764MEDIUM
n8n: Cross-Tenant Module-Cache Poisoning in the JS Task Runner
- CVE-2026-65593MEDIUM
n8n: Authenticated SSRF via Dynamic Node Parameters Endpoints Allows Internal Network Access
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies