{"id":"GHSA-725q-c4vp-q4cg","title":"Duplicate Advisory: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution","summary":"Duplicate Advisory: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution","severity":"high","cwe":["CWE-367"],"vendor":"n8n","product":"n8n","ecosystem":"npm","affected":["n8n < 1.123.64"],"published":"2026-07-22","updated":"2026-07-22","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-725q-c4vp-q4cg","references":[{"url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65598"},{"url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone"},{"url":"https://github.com/advisories/GHSA-725q-c4vp-q4cg"}],"tags":["ghsa","npm"],"ingestedAt":"2026-07-22T18:05:38.640Z","slug":"GHSA-725q-c4vp-q4cg","body":"## Overview\n\n## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of GHSA-g3r5-9h93-4j2c. This link is maintained to preserve external references.\n\n## Original Description\nn8n before 1.123.64, 2.29.8, and 2.30.1 contains a TOCTOU race condition in the Git node's clone operation that allows authenticated users to bypass path restrictions by swapping a directory for a symlink after the path is validated but before the clone runs. This lets an attacker plant a crafted repository in the community node directory, which n8n loads as a custom node on the next restart, executing arbitrary JavaScript on the server. Both self-hosted and cloud instances are affected.\n\n## Affected packages\n\n- `n8n < 1.123.64`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":41.3,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}