{"id":"EUVD-2026-42269","enisaUuid":"9250d1bc-8013-3d13-a968-695a33e8dbaf","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\u0027s 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\u0027 privileges. The MySQL v2 node, which uses parameterized queries, is not affected.","datePublished":"Jul 8, 2026, 1:49:13 PM","dateUpdated":"Oct 29, 2026, 9:16:04 PM","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"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-cvg9\nhttps://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-v1-executequery-operation-via-expression-interpolation\n","aliases":"CVE-2026-59257\nGHSA-2qp2-6frj-p9pq\nGHSA-hwmj-qg4v-cvg9\n","assigner":"VulnCheck","epss":0.57,"enisaIdProduct":[{"id":"0aac354d-878f-3737-8d4d-5f3d102b1ec5","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"2.28.0 \u003c2.28.1"},{"id":"b00b808e-ea80-35fc-a70c-15a5ac71f2dc","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"0 \u003c1.123.61"},{"id":"e0ef7863-934b-397e-b7d5-f4159538578f","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"2.0.0-rc.0 \u003c2.27.4"}],"enisaIdVendor":[{"id":"efa32f49-5291-3582-8f8d-c1c85bccd676","vendor":{"name":"n8n"}}],"enisaIdVulnerability":[{"id":"0f4f9a5e-ff39-347c-9ab3-a6087ccb088b","vulnerability":{"id":"CVE-2026-59257","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\u0027s 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\u0027 privileges. The MySQL v2 node, which uses parameterized queries, is not affected.","datePublished":"Jul 8, 2026, 1:49:13 PM","dateUpdated":"Oct 29, 2026, 9:16:04 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"4.0","baseScoreVector":"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-cvg9\nhttps://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-v1-executequery-operation-via-expression-interpolation\n","enisa_id":"EUVD-2026-42269\n","assigner":"VulnCheck","epss":0.57,"dataProcessed":"Nov 5, 2026, 7:18:05 AM","vulnerabilityProduct":[{"id":"56f95ae3-e5bb-3c97-9e74-149a71870138","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"2.28.0 \u003c2.28.1"},{"id":"66fa1575-e357-3393-8c59-d0a79eeaf67b","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"0 \u003c1.123.61"},{"id":"bbfb2208-40b3-3e26-bbb8-c6950edbde49","product":{"name":"n8n","vendor":{"name":"n8n-io"}},"product_version":"2.0.0-rc.0 \u003c2.27.4"}],"vulnerabilityVendor":[{"id":"7128feab-f8f2-3977-acdf-8bcda13ce871","vendor":{"name":"n8n"}}]}},{"id":"5192f40d-5d89-378b-ac0e-7b275a431c76","vulnerability":{"id":"GHSA-hwmj-qg4v-cvg9","description":"n8n: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation","datePublished":"Jul 22, 2026, 10:22:22 PM","dateUpdated":"Jul 22, 2026, 10:22:22 PM","baseScore":0.0,"references":"https://github.com/n8n-io/n8n/security/advisories/GHSA-hwmj-qg4v-cvg9\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-59257\nhttps://github.com/n8n-io/n8n\nhttps://github.com/n8n-io/n8n/releases/tag/n8n@1.123.61\nhttps://github.com/n8n-io/n8n/releases/tag/n8n@2.27.4\nhttps://github.com/n8n-io/n8n/releases/tag/n8n@2.28.1\nhttps://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-v1-executequery-operation-via-expression-interpolation\n","enisa_id":"EUVD-2026-42269\n","aliases":"GHSA-hwmj-qg4v-cvg9\nCVE-2026-59257\n","epss":0.0,"dataProcessed":"Nov 1, 2026, 2:03:08 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"758ea7e2-b213-392e-b9dd-4d1ce4bee635","vulnerability":{"id":"GHSA-2qp2-6frj-p9pq","description":"Duplicate Advisory: MySQL v1 Node executeQuery Operation Allows SQL Injection via Unparameterized Expression Interpolation","datePublished":"Jul 8, 2026, 3:32:02 PM","dateUpdated":"Jul 22, 2026, 10:21:44 PM","baseScore":0.0,"references":"https://github.com/n8n-io/n8n/security/advisories/GHSA-hwmj-qg4v-cvg9\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-59257\nhttps://www.vulncheck.com/advisories/n8n-sql-injection-in-mysql-v1-executequery-operation-via-expression-interpolation\n","enisa_id":"EUVD-2026-42269\n","aliases":"GHSA-2qp2-6frj-p9pq\n","epss":0.0,"dataProcessed":"Nov 1, 2026, 2:02:28 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[{"id":"a7bd8a81-91f0-34b5-b309-79ea7558c999","advisory":{"id":"NCSC-2026-0228","description":"Kwetsbaarheden verholpen in n8n workflow automation platform","datePublished":"Jul 13, 2026, 9:26:06 AM","dateUpdated":"Jul 13, 2026, 9:26:06 AM","baseScore":0.0,"references":"","aliases":"CVE-2026-59253\nCVE-2026-59257\nCVE-2026-59206\nCVE-2026-59207\nCVE-2026-59208\nCVE-2026-59209\n","source":{"id":19,"name":"csaf_ncscnl"},"advisoryProduct":[{"id":"1bed2fa7-2b3f-34e8-83a1-5f762ea948d8","product":{"name":"n8n","vendor":{"name":"n8n-io"}}}]}}]}