CVE-2026-44792: n8n - SQL Injection
- Cve: CVE-2026-44792
- Name: n8n - SQL Injection
- 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.
- Impact: Attackers can execute arbitrary SQL commands on the internal PostgreSQL database, potentially compromising data integrity and confidentiality.
- Remediation: Update to versions 1.123.43, 2.22.1, or 2.20.7 or later.
- Vulnerability type: sql_injection
- Vulnerability impact: sql_injection
- Requirement type: logged_in
- Requirements: Attacker needs git write access, Source Control enabled, PostgreSQL backend, and admin to trigger pull
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.00387
- Epss percentile: 0.33507
- Assignee: [email protected]
- Published at: 2026-06-23T17:16:59Z
- Age in days: 154
- Modified at: 2026-10-26T11:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-44792
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/n8n-io/n8n/security/advisories/GHSA-mhrx-qhrj-673w | nvd | Mitigation, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| n8n:n8n | >= 2.21.0, < 2.22.1; >= 2.0.0, < 2.20.7; < 1.123.43 | no | nvd | /v1/products/n8n/n8n |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| n8n-io/n8n | package, security_advisory | yes | /v1/repositories/n8n-io/n8n |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 91957
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports