CVE-2026-59257
Last modified
CVE-2026-59257 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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 {{ ... EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | < 1.123.61 |
| N8n | N8n | >= 2.0.0, < 2.27.4 |
| N8n | N8n | 2.28.0 |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-hwmj-qg4v-cvg9Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-59257?
How severe is CVE-2026-59257?
How do I fix CVE-2026-59257?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59250Classic buffer overflow in the Erlang/OTP megaco flex scanne…8.3
- CVE-2026-59251Allocation of resources without limits in Erlang/OTP public_…7.5
- CVE-2026-59252Improper Validation of Specified Quantity in Input in ZenHiv…8.2
- CVE-2026-59253n8n before 2.28.0 contains an improper authorization vulnera…5
- CVE-2026-59254n8n before 2.28.1 contains an information disclosure vulnera…6.3
- CVE-2026-59255BloodHound through 9.4.0, fixed in commit 8f79035, contains …7.1
- CVE-2026-59258immich before 3.0.3 contains a broken access control vulnera…8.3
- CVE-2026-59259n8n before versions 1.123.61, 2.27.4, and 2.28.1 contains a …6.5
- CVE-2026-5926IBM Verify Identity Access Container 11.0 through 11.0.2 and…6.5
- CVE-2026-59260OpenWrt luci-app-samba4 read ACL grants file.exec permission…8.8
- CVE-2026-59261OpenClaw before 2026.5.28 contains a credential exposure vul…6.5
- CVE-2026-59262AFFiNE's histories GraphQL field fails to validate Doc.Read …7.1
Are you affected by CVE-2026-59257?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
