Skip to content
Fencer Vulns
critical 10.0

CVE-2026-21877 json

n8n is vulnerable to Remote Code Execution via Arbitrary File Write

published 2026-01-06 10 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-1037 , GHSA-v364-rw7m-3263

cvss
10.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
5.4%
EPSS 5.4% chance of exploitation in 30 days, percentile 92%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • npm n8n 1.121.3
  • n8n n8n 1.121.3

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
10 mo ago

Exploit prediction

5.45% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template n8n >= 0.123.0 and < 1.121.3 - Remote Code Execution nuclei detection template

CVSS scores

assigned by version score vector
CNA 3.1 10.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm n8n
>=0.123.0, <1.121.3
1.121.3

Affected products

  • n8n-io n8n

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code
  • CWE-434 Unrestricted Upload of File with Dangerous Type

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.