RCE in N8n
CVE-2026-21877
n8n is an open source workflow automation platform. In versions 0.121.2 and below, an authenticated attacker may be able to execute malicious code using the n8n service. This could result in full compromise and can impact both self-hosted and n8n Cloud instances. This issue is fixed in version 1.121.3. Administrators can reduce exposure by disabling the Git node and limiting access for untrusted users, but upgrading to the latest version is recommended.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.054, 92.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- N8n
- N8n-Io N8n — versions < 1.121.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- CVEs-Labs/CVE-2026-21877 (last pushed 2026-08-13)
- monkeontheroof/cve-2026-21877-rce (last pushed 2026-04-26)
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.