CVE-2026-54310 PUBLISHED

n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes

Assigner: GitHub_M
Reserved: 12.06.2026 Published: 23.06.2026 Updated: 23.06.2026

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.

Metrics

CVSS 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
CVSS Score: 6.5

Product Status

Vendor n8n-io
Product n8n
Versions
  • Version >= 2.26.0, < 2.26.2 is affected
  • Version < 2.25.7 is affected

References

Problem Types

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') CWE