CVE-2026-65598 json
n8n before 1.123.64 Remote Code Execution via Git Clone
published 2026-07-22 3 mo ago modified 2026-10-29 10 d ago also CVE-2026-71539 , GHSA-g3r5-9h93-4j2c , EUVD-2026-47642
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm n8n 1.123.64, 2.29.8, 2.30.1
- n8n-io n8n 1.123.64, 2.29.8, 2.30.1
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.9 | 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 |
| CNA | 4.0 | 8.9 | 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 |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | n8n | <1.123.64 >=2.30.0, <2.30.1 >=2.0.0-rc.0, <2.29.8 |
1.123.64 2.30.1 2.29.8 |
Affected products
- n8n-io n8n
Classification
- Weakness
-
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
-
github.com
/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c
vendor-advisory, web, mitigation
-
vulncheck.com
/advisories/n8n-before-remote-code-execution-via-git-clone
third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-65598
advisory
-
github.com
/n8n-io/n8n
package
-
github.com
/n8n-io/n8n/releases/tag/n8n@1.123.64
web
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.29.8
web
-
github.com
/n8n-io/n8n/releases/tag/n8n@2.30.1
web
Sources
- CVE List CVE-2026-65598
- GitHub Advisory GHSA-g3r5-9h93-4j2c
- NVD CVE-2026-65598
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.