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.

Severity (CVSS 4.0)6.5Medium
Exploit odds (30 days)0.5%top 54.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmn8n2.26.2GHSA-c37g-w77q-m4vp
npmn8n2.25.7GHSA-c37g-w77q-m4vp

Affected products (as reported)

VendorProductVersions
n8n-io n8n >= 2.26.0, < 2.26.2< 2.25.7

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