Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-59257

published medium CVSS 4.0 · 5.3

n8n - SQL Injection in MySQL v1 executeQuery Operation via Expression Interpolation

Published
08 Jul 2026, 13:49:13 UTC
Updated
29 Oct 2026, 21:16:04 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
n8n — n8n0 to < 1.123.61 (affected · semver) · 1.123.61 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
n8n — n8n2.28.0 to < 2.28.1 (affected · semver) · 2.28.1 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck
n8n — n8n2.0.0-rc.0 to < 2.27.4 (affected · semver) · 2.27.4 (unaffected · semver) · Other versions: unaffected Version-specific Not stated VulnCheck

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.3 / 10
Severity
medium
Provider
VulnCheck · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
n8n n8n 0 to < 1.123.61 (affected · semver)1.123.61 (unaffected · semver)Default: unaffected VulnCheck · cna
n8n n8n 2.28.0 to < 2.28.1 (affected · semver)2.28.1 (unaffected · semver)Default: unaffected VulnCheck · cna
n8n n8n 2.0.0-rc.0 to < 2.27.4 (affected · semver)2.27.4 (unaffected · semver)Default: unaffected VulnCheck · cna

Weaknesses

1
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (VulnCheck · cna)

References

2

Provider assertions

2

VulnCheck · cna

n8n - SQL Injection in MySQL v1 executeQuery Operation via Expression Interpolation

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
21c2494db4c7d7a47217be74c67805789d4706425c8af0caa43fbad124ca740f
Ingested
29 Oct 2026, 21:23:06 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected