CVE-2026-65598n8n 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 sy…
Updated under an hour ago ()
Does this affect you?
It affects n8n. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.5 HIGH (v3.1, NVD)CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-367
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Analyzed
- Record last updated
- Jul 27, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
n8n n8n n8n:n8n | before 1.123.64; before 1.123.64; from 2.0.0 before 2.29.8; from 2.0.0 before 2.29.8; 2.30.0; 2.30.0 | NVD |
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2cmitigation, vendor-advisory
- https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clonethird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.