GHSA-rcv6-pvrj-4xcg: n8n: Authenticated code execution in the n8n Git node
Authenticated n8n users with rights to create and execute workflows could achieve code execution on the n8n host. Using the Git node, under the default git security settings, by staging a crafted local repository, an attacker could cause git to run hooks, executing arbitrary commands as the n8n process user.
Both self-hosted and cloud instances are affected where authenticated users can create and execute workflows using the Git node.
References
- github.com/advisories/GHSA-rcv6-pvrj-4xcg
- 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-rcv6-pvrj-4xcg
Code Behaviors & Features
Detect and mitigate GHSA-rcv6-pvrj-4xcg 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 →