{"id":"CVE-2026-65598","aliases":["CVE-2026-71539","GHSA-g3r5-9h93-4j2c"],"url":"https://o3.security/vulnerability/CVE-2026-65598","summary":"n8n before 1.123.64 Remote Code Execution via Git Clone","details":"n8n 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.","published":"2026-07-22T11:21:45.418Z","modified":"2026-08-19T03:56:04.927861931Z","cvss":null,"epss":{"score":0.00246,"percentile":0.15839,"asOf":"2026-09-05"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"n8n","fixedVersion":"1.123.64"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.30.1"},{"ecosystem":"npm","name":"n8n","fixedVersion":"2.29.8"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65598.json"},{"type":"ADVISORY","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":"ADVISORY","url":"https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-19T03:56:04.927861931Z"}}