PT-2026-63356 · N8N · N8N

CVE-2026-65598

·

Published

2026-07-22

·

Updated

2026-07-22

CVSS v4.0

8.9

High

VectorAV: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
Name of the Vulnerable Software and Affected Versions n8n versions prior to 1.123.64 n8n versions prior to 2.29.8 n8n versions prior to 2.30.1
Description A TOCTOU (Time-of-Check to Time-of-Use) race condition exists in the Git node's clone operation. This occurs when an authenticated user swaps a directory for a symlink after the path has been validated but before the clone operation executes, allowing them to bypass path restrictions. An attacker can use this to place a crafted repository into the community node directory. Because n8n loads these as custom nodes upon restart and executes their JavaScript, this leads to arbitrary code execution on the server. Both self-hosted and cloud instances are affected.
Recommendations Update to version 1.123.64 or later. Update to version 2.29.8 or later. Update to version 2.30.1 or later. Disable the Git node by adding n8n-nodes-base.git to the NODES EXCLUDE environment variable. Restrict n8n instance access to fully trusted users only. Restrict network egress from the n8n instance to prevent connections to attacker-controlled git repositories.

Exploit

Fix

RCE

Time Of Check To Time Of Use

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-65598
GHSA-725Q-C4VP-Q4CG
GHSA-G3R5-9H93-4J2C

Affected Products

N8N