Vulnerability · Published Jun 23, 2026 · Assigned by GitHub_M

CVE-2026-44792n8n: Source Control Pull SQL Injection

High 8.9

In plain English

A high-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.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.9High
Exploit odds (30 days)0.4%top 67.0% 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 1.123.43, 2.22.1, and 2.20.7, an attacker with write access to the git repository connected to an n8n Source Control configuration could commit a malicious Data Table JSON file containing a crafted column name. When an administrator performed a Source Control Pull, n8n imported the file and could lead to SQL injection on the internal PostgreSQL instance. Exploitation requires the n8n instance uses PostgreSQL as its database backend, the Source Control feature is enabled and connected to a repository the attacker can write to, and an administrator triggers a Source Control Pull. This vulnerability is fixed in 1.123.43, 2.22.1, and 2.20.7.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmn8n1.123.43GHSA-mhrx-qhrj-673w
npmn8n2.21.1GHSA-mhrx-qhrj-673w
npmn8n2.20.7GHSA-mhrx-qhrj-673w

Affected products (as reported)

VendorProductVersions
n8n-io n8n < 1.123.43>= 2.0.0-rc.0, < 2.20.7>= 2.21.0, < 2.21.1

Weakness: CWE-89 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References