GHSA-gf29-4f56-r2jf: n8n: Git Node fetch/pull/pushTags Operations Bypass Sandbox Path Restriction
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. Learn more about Dependency Scanning →