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

EPSS: 0.005 (44.4th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

References

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.