cve.bz

CVE-2026-65598 n8n n8n

8.9 highEPSS 0.3%Fix available

High (8.9) in n8n n8n. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in n8n 1.123.64, 2.29.8, 2.30.1.

On this page
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.

Severity

CVSS 4.0

8.9 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-65598 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-65598?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-65598?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-65598 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
n8n-io n8nbefore 1.123.64
n8n-io n8nfrom 2.30.0 before 2.30.1
n8n-io n8nfrom 2.0.0-rc.0 before 2.29.8

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g3r5-9h93-4j2cnpmn8n<1.123.641.123.64
GHSA-g3r5-9h93-4j2cnpmn8n>=2.30.0 <2.30.12.30.1
GHSA-g3r5-9h93-4j2cnpmn8n>=2.0.0-rc.0 <2.29.82.29.8

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON