{"id":"GHSA-725q-c4vp-q4cg","revision":"ef075f0dbdef4933a487ad68d15b113a","records":[{"revision":"ef075f0dbdef4933a487ad68d15b113a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-725q-c4vp-q4cg","aliases":[],"title":"Duplicate Advisory: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution","description":"## Duplicate Advisory\n\nThis advisory has been withdrawn because it is a duplicate of\u00A0GHSA-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.","state":2,"publishedAt":"2026-07-22T12:32:18+00:00","modifiedAt":"2026-07-22T18:01:07.0673328+00:00","affected":[{"ecosystem":"npm","name":"n8n","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c","https://nvd.nist.gov/vuln/detail/CVE-2026-65598","https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone"],"sourceUrl":"https://github.com/advisories/GHSA-725q-c4vp-q4cg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-725q-c4vp-q4cg","identifiers":["GHSA-725q-c4vp-q4cg"]},"retained":false,"historicalAffected":[]}],"coverage":[]}