Skip to content
OpenAdvisories
Medium · 6.5 CVE-2026-54310 EUVD-2026-38470GHSA-c37g-w77q-m4vp

n8n: SQL Injection in Postgres v1/TimesclaeDB Nodes

Published Jun 23, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
n8n-io n8n >= 2.26.0, < 2.26.2, < 2.25.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n >= 2.26.0, < 2.26.2 2.26.2 GHSA-c37g-w77q-m4vp
npm n8n < 2.25.7 2.25.7 GHSA-c37g-w77q-m4vp

Advisories 2

References