{"id":"GHSA-725q-c4vp-q4cg","summary":"Duplicate Advisory: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution","details":"## 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.","modified":"2026-07-22T18:01:07.067332757Z","published":"2026-07-22T12:32:18Z","withdrawn":"2026-07-22T17:54:53Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-07-22T17:54:53Z","nvd_published_at":"2026-07-22T12:18:20Z","cwe_ids":["CWE-367"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65598"},{"type":"WEB","url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone"}],"affected":[{"package":{"name":"n8n","ecosystem":"npm","purl":"pkg:npm/n8n"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 1.123.64","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-725q-c4vp-q4cg/GHSA-725q-c4vp-q4cg.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:L/SA:L/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}