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.5th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-21877: held from 0.054 to 0.054.

EPSS over last 30 days · oldest: 0.054 · newest: 0.054 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-21877?
CVE-2026-21877 is a critical-severity vulnerability in N8n, classified under Code Injection. CVSS score: 9.9/10. Published 2026-01-08.
How severe is CVE-2026-21877?
Critical severity. CVSS v3 base score is 9.9 out of 10.
Is CVE-2026-21877 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.