SQL Injection in N8n
CVE-2026-54310
n8n is an open source workflow automation platform. Prior to 2.25.7 and 2.26.2, an authenticated user with permission to create or modify workflows could supply a crafted parameters to the TimescaleDB and/or legacy Postgres v1 node's allowing arbitrary SQL to be injected and executed against the connected database within the privileges of the configured database account. This vulnerability is fixed in 2.25.7 and 2.26.2.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.005 (44.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 45th percentile — 44.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.005 · newest: 0.005 · change: 0.000
Affected products
- N8n
- N8n-Io N8n — versions >= 2.26.0, < 2.26.2, < 2.25.7
Weakness classification (CWE)
References
- github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp (Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-54310?
- CVE-2026-54310 is a critical-severity vulnerability in N8n, classified under SQL Injection. CVSS score: 9.9/10. Published 2026-06-23.
- How severe is CVE-2026-54310?
- Critical severity. CVSS v3 base score is 9.9 out of 10.