Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-gf29-4f56-r2jf

GHSA-gf29-4f56-r2jf: n8n: Git Node fetch/pull/pushTags Operations Bypass Sandbox Path Restriction

July 22, 2026

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.

References

  • github.com/advisories/GHSA-gf29-4f56-r2jf
  • github.com/n8n-io/n8n/commit/f69dfc6dd2178a14ea1624d2e1d403c2e755042f
  • github.com/n8n-io/n8n/releases/tag/n8n@1.123.67
  • github.com/n8n-io/n8n/releases/tag/n8n@2.31.5
  • github.com/n8n-io/n8n/releases/tag/n8n@2.32.1
  • github.com/n8n-io/n8n/security/advisories/GHSA-gf29-4f56-r2jf

Code Behaviors & Features

Detect and mitigate GHSA-gf29-4f56-r2jf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.123.67, all versions starting from 2.0.0-rc.0 before 2.31.5, all versions starting from 2.32.0 before 2.32.1

Fixed versions

  • 1.123.67
  • 2.31.5
  • 2.32.1

Solution

Upgrade to versions 1.123.67, 2.31.5, 2.32.1 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/n8n/GHSA-gf29-4f56-r2jf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:11 +0000.