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 probability: 0.2%, top 89% of all CVEs by exploit prediction. 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(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity89% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 11%
- 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.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| n8n | — | 2.29.8 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 45× in last 7d / 45× 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-26 21:23 UTCEG score recompute
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 09:50 UTCEG score recompute
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:22 UTCEG score recompute
- 2026-07-22 22:07 UTCEG score recompute
- 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
Show 20 moreShow fewer
- 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
- 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
Frequently asked(5)
What is CVE-2026-65598?
When was CVE-2026-65598 disclosed?
Is CVE-2026-65598 actively exploited?
What is the CVSS score of CVE-2026-65598?
How do I remediate CVE-2026-65598?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by 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.