GHSA-57g9-58c2-xjg3

Suggest an improvement
Source
https://github.com/advisories/GHSA-57g9-58c2-xjg3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-57g9-58c2-xjg3/GHSA-57g9-58c2-xjg3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-57g9-58c2-xjg3
Aliases
  • CVE-2026-44790
Published
2026-05-14T16:17:35Z
Modified
2026-05-14T16:32:34.121958Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
n8n Has an Arbitrary File Read via Git Node
Details

Impact

An authenticated user with permission to create or modify workflows could inject CLI flags on the Git node's Push operation allowing an attacker to read arbitrary files from the n8n server potentially leading to full compromise.

Patches

The issue has been fixed in n8n versions 1.123.43, 2.20.7, and 2.22.1. Users should upgrade to one of these versions or later to remediate the vulnerability.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations: - Limit workflow creation and editing permissions to fully trusted users only. - Disable the Git node by adding n8n-nodes-base.git to the NODES_EXCLUDE environment variable.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.


n8n has adopted CVSS 4.0 as primary score for all security advisories. CVSS 3.1 vector strings are provided for backwards compatibility.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Database specific
{
    "github_reviewed": true,
    "severity": "CRITICAL",
    "github_reviewed_at": "2026-05-14T16:17:35Z",
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-88"
    ]
}
References

Affected packages

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.123.43

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-57g9-58c2-xjg3/GHSA-57g9-58c2-xjg3.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.21.0
Fixed
2.22.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-57g9-58c2-xjg3/GHSA-57g9-58c2-xjg3.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-rc.0
Fixed
2.20.7

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-57g9-58c2-xjg3/GHSA-57g9-58c2-xjg3.json"