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, 46.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- N8n
- N8n-Io N8n — versions >= 2.26.0, < 2.26.2, < 2.25.7
Weakness classification (CWE)
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp (Mitigation, Vendor Advisory)