CVE-2026-59257: 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
CVE-2026-59257 is a high-severity flaw (CVSS 8.8) affecting n8n. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 inpu
Why this priority
- High severity
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 53%) |
| CISA exploited list | No |
| Weakness | CWE-89 |
| Published | 2026-07-08 |
| Last modified | 2026-10-25 |
Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-59257?
n8n: upgrade to 1.123.61, 2.27.4. Exact commands for each OS are on this page.
Is CVE-2026-59257 being exploited?
CVE-2026-59257 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-59257 affect?
CVE-2026-59257 affects n8n. Severity is high (CVSS 8.8). 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
How urgent is CVE-2026-59257?
Priority 43/100. High severity
Software pages
Related CVEs
- CVE-2026-56778 MEDIUM 6.4 UPGRADE n8n before 2.25.7 and 2.26.x before 2.26.2 contains an authorization bypass in the Public API execution retry
- CVE-2026-56360 MEDIUM 4.0 UPGRADE n8n before versions 1.123.18 and 2.6.2 fails to verify HMAC-SHA256 signatures on Zendesk webhooks in the Zende
- CVE-2026-59206 HIGH 7.1 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-59207 MEDIUM 6.5 UPGRADE n8n is an open source workflow automation platform
- CVE-2026-59209 MEDIUM 6.5 UPGRADE n8n is an open source workflow automation platform