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…
Exact source revision recorded 31 Oct 2026 18:05:00 UTC. It does not establish the source's current position. Latest evidence.
nvd · CVE-2026-65598
Publishedn8n 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.
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.
Source analysis status: Analyzed
Weakness classifications: CWE-367
Original publisher date fields
published: 2026-07-22T12:18:20.037
lastModified: 2026-10-29T20:17:33.110
4 source CPE criteria · context only
- 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:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 22 Jul 2026 12:18:20 UTC
- Source modified
- 29 Oct 2026 20:17:33 UTC
- Observed here
- 31 Oct 2026 18:05:00 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
This view projects the publisher's source fields for reading; the original JSON retains additional fields and CVE enrichment containers. Attribution: nvd · NIST NVD usage terms; underlying source attribution retained. Source text is retained; field grouping and change labels are provided by ChangeIntel.
CVSS 4.0 · [email protected] · Secondary · 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
CVSS 3.1 · [email protected] · Primary · 7.5 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H