CVE-2026-54310
n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| minimos | n8n | 2.25.7-r0 |
| npm::GitHub Security Advisory npm | n8n | 2.26.2, 2.25.7 |