Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

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

43
This month
HIGH 8.8UPGRADE

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 score8.8 (High)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededLow
User interactionNone
EPSS exploit chance0.6% (top 53%)
CISA exploited listNo
WeaknessCWE-89
Published2026-07-08
Last modified2026-10-25
Publisher (CNA): VulnCheck · Vendor: n8n

Share: LinkedIn · X · Reddit

Last updated 2026-10-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

n8n n8n UPGRADE
Affected: < 1.123.61 · >= 2.0.0 and < 2.27.4 · 2.28.0
Fixed in: 1.123.61, 2.27.4
Safe to downgrade to: a release before 2.0.0
1. Check installed version
npm ls n8n
2. UPGRADE to 1.123.61
npm install n8n@">=1.123.61"
3. If no update is available yet, DOWNGRADE to a release before 2.0.0
npm view n8n versions npm install n8n@"<2.0.0"
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

MySQL vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.