> CVE-2026-65598 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-07-22 12:18
MODIFIED
2026-07-22 12:18
CVSS_SCORE V3
8.9
EPSS (Prob. Exploit)
0.34%
Top 74.2%
DATA SOURCES:
NVD 🔗 2026-07-22 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-10-29 OSV 🔗 2026-07-29

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
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

> MÉTRIQUES CVSS DÉTAILLÉES

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
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-367

> CWE DETAILED DESCRIPTIONS

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.

> GITHUB SECURITY ADVISORY

GHSA-g3r5-9h93-4j2c HIGH

n8n: Race Condition in Git Clone Node Allows Authenticated Users to Achieve Remote Code Execution

AFFECTED PACKAGES:
NPM / n8n
>= 2.0.0-rc.0, < 2.29.8
Fixed in: 2.29.8
NPM / n8n
>= 2.30.0, < 2.30.1
Fixed in: 2.30.1
NPM / n8n
< 1.123.64
Fixed in: 1.123.64

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

n8n before 1.123.64 Remote Code Execution via Git Clone

AFFECTED PACKAGES:
Unknown / Unknown
975 versions affected
ALIASES:
GHSA-g3r5-9h93-4j2c

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/07/2026 12:18
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
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...
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/n8n-io/n8n/security/advisories/GHSA-g3r5-9h93-4j2c
https://www.vulncheck.com/advisories/n8n-before-remote-code-execution-via-git-cl...
« BACK_TO_HOME