8.9

CVE-2026-65598

n8n before 1.123.64 Remote Code Execution via Git Clone

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
N8nN8n SwEditioncommunity SwPlatformnode.js Version < 1.123.64
N8nN8n SwEditionenterprise SwPlatformnode.js Version < 1.123.64
N8nN8n SwEditioncommunity SwPlatformnode.js Version >= 2.0.0 < 2.29.8
N8nN8n SwEditionenterprise SwPlatformnode.js Version >= 2.0.0 < 2.29.8
N8nN8n Version2.30.0 SwEditioncommunity SwPlatformnode.js
N8nN8n Version2.30.0 SwEditionenterprise SwPlatformnode.js
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.24% 0.155
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 7.5 1.6 5.9
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
disclosure@vulncheck.com 8.9 0 0
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
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c
Vendor Advisory
Mitigation
https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-clone
Third Party Advisory