Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M
CVE-2026-54310n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes
Medium 6.5
In plain English
A medium-severity SQL injection in n8n from n8n-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | n8n | 2.26.2 | GHSA-c37g-w77q-m4vp |
| npm | n8n | 2.25.7 | GHSA-c37g-w77q-m4vp |
Affected products (as reported)
Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-c37g-w77q-m4vp x_refsource_CONFIRM