Skip to content

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

HighCVSS 8.9 EPSS 0.39%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n < 1.123.43; >= 2.0.0, < 2.20.7; >= 2.21.0, < 2.22.1 1.123.43, 2.20.7, 2.22.1 Fixed
npm n8n(npm) < 1.123.43; >= 2.0.0-rc.0, < 2.20.7; >= 2.21.0, < 2.21.1 1.123.43, 2.20.7, 2.21.1 Fixed
n8n-io n8n = < 1.123.43; = >= 2.0.0-rc.0, < 2.20.7; = >= 2.21.0, < 2.21.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
n8n-io n8n = < 1.123.43 No fix listed
n8n-io n8n = >= 2.0.0-rc.0, < 2.20.7 No fix listed
n8n-io n8n = >= 2.21.0, < 2.21.1 No fix listed
npm n8n(npm) < 1.123.43 1.123.43
npm n8n(npm) >= 2.21.0, < 2.21.1 2.21.1
npm n8n(npm) >= 2.0.0-rc.0, < 2.20.7 2.20.7
n8n < 1.123.43 1.123.43
n8n >= 2.0.0, < 2.20.7 2.20.7
n8n >= 2.21.0, < 2.22.1 2.22.1

References