CVE-2026-44792
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedn8n 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceSQL injection vulnerability in n8n's Source Control Pull functionality. An attacker with write access to the connected git repository can commit a malicious Data Table JSON file containing a crafted column name that, when imported during a Source Control Pull, leads to SQL injection in the PostgreSQL backend.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 1.123.43>= 2.0.0, < 2.20.7>= 2.21.0, < 2.22.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed n8n versionRun `n8n --version` or check the version displayed in the n8n UI (usually shown in the bottom-left corner of the interface)Affected if The installed version falls within any of these ranges: < 1.123.43, >= 2.0.0 and < 2.20.7, or >= 2.21.0 and < 2.22.1
-
Confirm Source Control is enabledNavigate to Settings > Source Control in the n8n UI, or check if a `.n8n` git repository folder exists in your project directoryAffected if Source Control is enabled and a git repository is connected
-
Identify the database backendCheck your n8n configuration file (typically `~/.n8n/config` or environment variable `DB_TYPE`) to see which database n8n is usingAffected if The backend database is PostgreSQL (the SQL injection affects the PostgreSQL backend specifically)
-
Assess git repository access controlsReview who has write access to the connected git repository by checking repository settings, team permissions, or branch protection rulesAffected if Any untrusted users or external contributors have write access to the repository
You are affected if your n8n version is within the vulnerable ranges AND Source Control is enabled with a connected git repository AND PostgreSQL is used as the backend AND untrusted users have write access to that repository.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped1.123.432.20.72.22.1
Upgrade n8n to version 1.123.43, 2.22.1, or 2.20.7 or later. Alternatively, disable Source Control or ensure only trusted users have write access to the connected repository.
Upgrade to 1.123.43 (for 1.x users), 2.20.7 (for 2.0.0-2.20.x users), or 2.22.1 (for 2.21.x users)
- 1. Identify the current n8n version running in your environment
- 2. Determine which major version line (1.x or 2.x) you are currently using
- 3. For 1.x users: Upgrade to version 1.123.43 or later
- 4. For 2.0.0-2.20.x users: Upgrade to version 2.20.7 or later
- 5. For 2.21.x users: Upgrade to version 2.22.1 or later
- 6. After upgrade, verify the Source Control functionality works correctly
- 7. Review any post-upgrade logs for errors
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation1.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,664.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-44792 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-44792 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data