Skip to main content
VulnerabilityPublished

N8n: Duplicate Advisory: Race Condition

Affects n8nSource GCVE Database

0

CVSS 8.9 High.

Data as of 23 Jul 2026, 00:11 UTC

CVSS 4.0 base score
8.9High
How severe the flaw is on the 0–10 CVSS scale.
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

What to do

Affected software

ProductAffectedFixed in
npmn8nAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigations. Until patched, restrict authenticated user permissions to limit exposure and avoid restarting n8n instances after suspicious activity.

Description

A race condition vulnerability exists in the Git clone node of n8n before versions 1.123.64, 2.29.8, and 2.30.1. Authenticated users can exploit a time-of-check to time-of-use (TOCTOU) issue by replacing a directory with a symlink after path validation but before cloning. This allows planting a crafted repository that n8n loads as a custom node on restart, leading to arbitrary JavaScript execution on the server. Both self-hosted and cloud instances are affected. This advisory is a duplicate and has been withdrawn in favor of GHSA-g3r5-9h93-4j2c.

References

Community reviews

Loading reviews…