{"id":"CVE-2026-65598","revision":"badd67b8e02f4f06887a091ddeffcc32","records":[{"revision":"badd67b8e02f4f06887a091ddeffcc32","observedAt":"2026-10-31T18:05:00.018+00:00","statement":{"source":"nvd","id":"CVE-2026-65598","aliases":[],"title":"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 bef…","description":"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.","state":0,"publishedAt":"2026-07-22T12:18:20.037+00:00","modifiedAt":"2026-10-29T20:17:33.11+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · disclosure@vulncheck.com · Secondary","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":8.9,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"severity":"HIGH"}],"references":["https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c","https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-65598","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-367"],"productCriteria":["cpe:2.3:a:n8n:n8n:*:*:*:*:community:node.js:*:*","cpe:2.3:a:n8n:n8n:*:*:*:*:enterprise:node.js:*:*","cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:community:node.js:*:*","cpe:2.3:a:n8n:n8n:2.30.0:*:*:*:enterprise:node.js:*:*"],"sourceDates":{"published":"2026-07-22T12:18:20.037","lastModified":"2026-10-29T20:17:33.110"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-65598","identifiers":["CVE-2026-65598"]},"retained":false,"historicalAffected":[]}],"coverage":[]}