# CVE-2026-21877: n8n is vulnerable to Remote Code Execution via Arbitrary File Write

- Severity: Critical 10.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.35%, higher than 93% of CVEs (2026-12-01)
- Published: 2026-01-06T17:48:24.000Z
- Modified: 2026-06-17T10:19:04.527Z
- Also known as: GHSA-v364-rw7m-3263
- Weaknesses: CWE-94, CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- n8n-io n8n: < 1.121.3
- n8n (npm): from 0.123.0 before 1.121.3
- n8n n8n: from 0.123.0 before 1.121.3

## Every score

- GitHub_M: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263> (vendor-advisory, web)
- <https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6> (patch)
- <https://github.com/n8n-io/n8n> (package)

## Sources

- CVE List: [CVE-2026-21877](https://www.cve.org/CVERecord?id=CVE-2026-21877), CVE Terms of Use, modified 2026-01-08
- GitHub Advisory Database: [GHSA-v364-rw7m-3263](https://github.com/advisories/GHSA-v364-rw7m-3263), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-21877](https://nvd.nist.gov/vuln/detail/CVE-2026-21877), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-21877 · Whole record: https://cve.day/CVE-2026-21877.json · Rebuilt by cve.day 2026-11-25T22:59:12.653Z
