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.
CVE-2026-65598
This high-severity CVE scores 8.9 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.9
- EG Score
- 8.9(low)
- EPSS
- —
- KEV
- Not listed
Published
July 22, 2026
Last Modified
July 22, 2026
Advisory Details (2)
Auto-updated Jul 22, 2026n8n before 1.123.64 Remote Code Execution via Git Clone | Advisories | VulnCheck
https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-cloneRace Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution · Advisory · n8n-io/n8n · GitHub
https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2cVendor Advisories for CVE-2026-65598(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 33× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 17:20 UTCGHSA enrichment
- 2026-07-22 13:35 UTCEG score recompute
- 2026-07-22 13:35 UTCGHSA enrichment
- 2026-07-22 13:33 UTCGHSA enrichment
- 2026-07-22 13:31 UTCGHSA enrichment
- 2026-07-22 13:29 UTCGHSA enrichment
- 2026-07-22 13:28 UTCGHSA enrichment
- 2026-07-22 13:26 UTCGHSA enrichment
- 2026-07-22 13:26 UTCGHSA enrichment
- 2026-07-22 13:24 UTCGHSA enrichment
- 2026-07-22 13:23 UTCGHSA enrichment
- 2026-07-22 13:22 UTCGHSA enrichment
- 2026-07-22 13:21 UTCGHSA enrichment
- 2026-07-22 13:17 UTCGHSA enrichment
- 2026-07-22 13:15 UTCGHSA enrichment
- 2026-07-22 13:14 UTCGHSA enrichment
- 2026-07-22 13:14 UTCGHSA enrichment
- 2026-07-22 13:09 UTCGHSA enrichment
- 2026-07-22 13:08 UTCGHSA enrichment
- 2026-07-22 13:02 UTCGHSA enrichment
- 2026-07-22 13:00 UTCGHSA enrichment
- 2026-07-22 12:59 UTCGHSA enrichment
- 2026-07-22 12:59 UTCGHSA enrichment
- 2026-07-22 12:57 UTCGHSA enrichment
- 2026-07-22 12:56 UTCGHSA enrichment
Show 8 moreShow fewer
- 2026-07-22 12:55 UTCGHSA enrichment
- 2026-07-22 12:54 UTCGHSA enrichment
- 2026-07-22 12:53 UTCGHSA enrichment
- 2026-07-22 12:51 UTCGHSA enrichment
- 2026-07-22 12:50 UTCGHSA enrichment
- 2026-07-22 12:49 UTCGHSA enrichment
- 2026-07-22 11:32 UTCEG score recompute
- 2026-07-22 11:32 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(4)
What is CVE-2026-65598?
When was CVE-2026-65598 disclosed?
What is the CVSS score of CVE-2026-65598?
How do I remediate CVE-2026-65598?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-65598
Is Your Infrastructure Affected by CVE-2026-65598?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.