# CVE-2026-44792: n8n SQL injection in Source Control via Data Table JSON

Source: https://junglewise.ai/threats/cve-2026-44792-n8n-sql-injection-in-source-control-via-data-table-json  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-23. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2026-44792 · Severity: critical · CVSS 9 · Published 2026-06-23

n8n, a popular workflow automation tool, is vulnerable to a security flaw in its Source Control feature. An attacker who can modify the connected Git repository can inject malicious code that executes when an administrator pulls updates. This could allow the attacker to gain unauthorized access to the internal database, potentially leading to data theft or full system compromise.

Technologies: [N8n](https://junglewise.ai/threats/technologies/n8n), [n8n (npm)](https://junglewise.ai/threats/technologies/npm-n8n). Vendors: [N8n](https://junglewise.ai/threats/vendors/n8n), [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-44792 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-44792 being exploited in the wild.

**How severe is CVE-2026-44792?** Critical severity, with a CVSS score of 9, published 23 June 2026.

**Which products and versions are affected?** N8n < 1.123.43, < 2.21.1, < 2.20.7, < 1.123.43, >= 2.0.0-rc.0 < 2.20.7, >= 2.21.0 < 2.21.1, < 1.123.43, >= 2.0.0-rc.0, < 2.20.7, >= 2.21.0, < 2.21.1; n8n (npm) SEMVER:introduced=0,fixed=1.123.43.

**Is there a fix for CVE-2026-44792?** Yes. n8n (npm): upgrade to 1.123.43 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-44792 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-44792?** Check whether you run N8n or n8n (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- n8n (npm): upgrade to 1.123.43 or later

  ```sh
  npm install n8n@1.123.43
  ```


## Technical details

A SQL injection vulnerability exists in n8n's Source Control feature due to improper neutralization of special elements in Data Table JSON files. An attacker with write access to the connected Git repository can commit a crafted JSON file with a malicious column name. When an administrator triggers a 'Source Control Pull', the application imports the file and executes the injected SQL against the internal PostgreSQL backend. This requires the instance to be using PostgreSQL and the Source Control feature to be active. The issue is fixed in versions 1.123.43, 2.20.7, and 2.21.1.

## Affected products

- n8n-io n8n < 1.123.43, >= 2.0.0-rc.0, < 2.20.7, >= 2.21.0, < 2.21.1

## Identifiers

- CVE-2026-44792
- GHSA-mhrx-qhrj-673w

## Timeline

- 2026-05-13: disclosed
- 2026-05-14: advisory

## References

- [https://api.github.com/users/sm1ee](https://api.github.com/users/sm1ee)
- [https://github.com/sm1ee](https://github.com/sm1ee)
- [https://api.github.com/users/sm1ee/gists%7B/gist_id%7D](https://api.github.com/users/sm1ee/gists%7B/gist_id%7D)
- [https://api.github.com/users/sm1ee/repos](https://api.github.com/users/sm1ee/repos)
- [https://avatars.githubusercontent.com/u/19336661?v=4](https://avatars.githubusercontent.com/u/19336661?v=4)
- [https://api.github.com/users/sm1ee/events%7B/privacy%7D](https://api.github.com/users/sm1ee/events%7B/privacy%7D)

## Related threats

- [n8n path traversal in Databricks node](https://junglewise.ai/threats/cve-2026-119557-n8n-from-2-14-0-through-2-46-3-contains-a-path-traversal)
- [n8n remote code execution in deprecated Function nodes](https://junglewise.ai/threats/cve-2026-119408-n8n-before-2-42-6-2-43-x-before-2-43-3-and-3-x-before-3-0-1)
- [n8n Slack Trigger SSRF and token exfiltration](https://junglewise.ai/threats/cve-2026-118679-n8n-before-1-123-83-2-41-4-and-2-42-1-contains-a-server-side)
- [n8n prototype pollution in workflow history compaction](https://junglewise.ai/threats/cve-2026-118678-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-prototype)
- [n8n Local Gateway deep-link missing confirmation re-pairing](https://junglewise.ai/threats/cve-2026-118677-n8n-before-2-41-4-and-2-42-x-before-2-42-1-contains-a-missing)
