CVE-2026-21877
n8n is vulnerable to Remote Code Execution via Arbitrary File Write
CRITICAL 9.9EPSS 5.4%
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.
- Affected
- n8n-io · n8n
- CVSS v3.1 GITHUB
- 9.9 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H - EPSS
- 5.45% chance of exploitation in the next 30 days, 93rd percentile
- Nuclei
- critical · CWE-434
- Published
- 2026-01-08
Proof-of-concept exploits (2)
- CVEs-Labs/CVE-2026-218770★ · 2026-08-13
- monkeontheroof/cve-2026-21877-rce0★ · 2026-04-26
Nuclei templates (1)
Security advisories
- n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263
- advisories/GHSA-v364-rw7m-3263
- n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6