CVE-2026-65598
published high CVSS 4.0 · 8.9n8n before 1.123.64 Remote Code Execution via Git Clone
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n8n-io | — | n8n0 to < 1.123.64 (affected · semver) · 1.123.64 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n2.30.0 to < 2.30.1 (affected · semver) · 2.30.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| n8n-io | — | n8n2.0.0-rc.0 to < 2.29.8 (affected · semver) · 2.29.8 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n8n-io | n8n | 0 to < 1.123.64 (affected · semver)1.123.64 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 2.30.0 to < 2.30.1 (affected · semver)2.30.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| n8n-io | n8n | 2.0.0-rc.0 to < 2.29.8 (affected · semver)2.29.8 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
References
2- GitHub Security Advisory (GHSA-g3r5-9h93-4j2c) https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c
- VulnCheck Advisory: n8n before 1.123.64 Remote Code Execution via Git Clone https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone
Provider assertions
2VulnCheck · cna
n8n before 1.123.64 Remote Code Execution via Git Clone
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c1021f2cda12b7514a1566a62f9cedcc57b6c980eef079c7077820c46d6e40d4
- Ingested
- 29 Oct 2026, 21:23:06 UTC
- Source record
- Official CVE record