GHSA-gf29-4f56-r2jf

Suggest an improvement
Source
https://github.com/advisories/GHSA-gf29-4f56-r2jf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-gf29-4f56-r2jf/GHSA-gf29-4f56-r2jf.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gf29-4f56-r2jf
Aliases
Downstream
Published
2026-07-22T22:06:45Z
Modified
2026-08-12T04:26:15Z
Severity
  • 7.1 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
n8n: Git Node fetch/pull/pushTags Operations Bypass Sandbox Path Restriction
Details

Impact

Authenticated n8n users with workflow create/execute rights could use the Git node's fetch, pull, or push-tags operations to bypass the repository-path containment checks that already protected clone and push. By pointing an allowlisted remote configuration value at a local path outside the intended sandbox, an attacker could pull an arbitrary local git repository into the workspace and subsequently read its files and history.

Patches

The issue has been fixed in n8n versions 1.123.67, 2.31.5, and 2.32.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:

  • Restrict n8n instance access 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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-07-22T22:06:45Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / n8n

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-gf29-4f56-r2jf/GHSA-gf29-4f56-r2jf.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.32.0
Fixed
2.32.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-gf29-4f56-r2jf/GHSA-gf29-4f56-r2jf.json"

npm / n8n

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0-rc.0
Fixed
2.31.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-gf29-4f56-r2jf/GHSA-gf29-4f56-r2jf.json"