{"id":"CVE-2026-44792","published":"2026-06-23T15:55:30Z","modified":"2026-06-23T17:44:07Z","title":"n8n: Source Control Pull SQL Injection","vendor":"n8n","product":"n8n","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00387,"percentile":0.33644,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-mhrx-qhrj-673w","tags":["x_refsource_CONFIRM"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.73},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"n8n","affectedVersions":[{"vendor":"n8n-io","product":"n8n","versions":["< 1.123.43",">= 2.0.0-rc.0, < 2.20.7",">= 2.21.0, < 2.21.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-23T17:43:59.738471Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"n8n","vulnerableRanges":["<1.123.43",">=2.21.0, <2.21.1",">=2.0.0-rc.0, <2.20.7"],"patched":["1.123.43","2.21.1","2.20.7"],"from":["GHSA-mhrx-qhrj-673w"],"provenance":"source"}],"summary":{"text":"The flaw is an SQL injection in n8n's Source Control feature, where a crafted column name inside a Data Table JSON file is not neutralised when n8n imports it during a Source Control Pull, affecting instances that use PostgreSQL as their database backend. An attacker who has write access to the git repository connected to the Source Control configuration can commit the malicious file, and exploitation then requires an administrator to trigger a Source Control Pull, with the feature enabled and the attacker able to write to the connected repository, to reach the internal PostgreSQL instance.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:45Z"},"euvd":{"id":"EUVD-2026-38486","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-42236","published":"2026-05-04","fixed":"2.18.1","kev":false},{"cve":"CVE-2026-42237","published":"2026-05-04","fixed":"2.18.1","kev":false},{"cve":"CVE-2026-56348","published":"2026-06-22","fixed":"2.20.0","kev":false},{"cve":"CVE-2026-44792","published":"2026-06-23","fixed":"2.21.1","kev":false},{"cve":"CVE-2026-45732","published":"2026-06-23","fixed":"2.21.1","kev":false},{"cve":"CVE-2026-44789","published":"2026-06-23","fixed":"2.22.1","kev":false},{"cve":"CVE-2026-44790","published":"2026-06-23","fixed":"2.22.1","kev":false},{"cve":"CVE-2026-49444","published":"2026-06-23","fixed":"2.22.4","kev":false,"link":{"from":"CVE-2026-44792","to":"CVE-2026-49444","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.21.1","toFixed":"2.21.8","daysApart":0}]}},{"cve":"CVE-2026-49465","published":"2026-06-23","fixed":"2.22.4","kev":false,"link":{"from":"CVE-2026-44792","to":"CVE-2026-49465","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:n8n","fromFixed":"2.21.1","toFixed":"2.21.8","daysApart":0}]}}],"package":"npm:n8n"}}