CVE-2026-44792

Critical

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.

SeverityCritical
CVSS9.0
Exploit probability—
ProductN8n
PublishedJun 23, 2026
First seenJun 23, 2026
Weakness typeCWE-89SQL injection

How to fix

Update
  • n8n n8n1.123.43, 2.20.7, 2.22.1 or later
  • n8n1.123.43, 2.21.1, 2.20.7 or later

Affected products

ProductAffected versionsFixed in
n8n n8nv < 1.123.43, 2.0.0 ≤ v < 2.20.7, 2.21.0 ≤ v < 2.22.11.123.43, 2.20.7, 2.22.1
n8nnpmv < 1.123.43, 2.21.0 ≤ v < 2.21.1, 2.0.0-rc.0 ≤ v < 2.20.71.123.43, 2.21.1, 2.20.7

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.