SQL Injection in N8n

CVE-2026-44792

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.

Vulnerability class: SQL Injection

EPSS: 0.004 (32.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Affected products

  • N8n
  • N8n-io N8n — versions < 1.123.43, >= 2.0.0-rc.0, < 2.20.7, >= 2.21.0, < 2.21.1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-44792?
CVE-2026-44792 is a critical-severity vulnerability in N8n, classified under SQL Injection. CVSS score: 9.0/10. Published 2026-06-23.
How severe is CVE-2026-44792?
Critical severity. CVSS v3 base score is 9.0 out of 10.