CVE-2026-21877
CRITICAL 9.9CVSS 3.1n8n Vulnerable to RCE via Arbitrary File Write
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.
- Published
- 8 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-434CWE-94
- Also known as
- GHSA-v364-rw7m-3263
- Sources
- NVDJSONOSV GHSA-v364-rw7m-3263JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n8n | n8ncpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
>= 0.123.0, < 1.121.3 | 1.121.3 |
| OSV | npm | n8n | >= 0.123.0, < 1.121.3 | 1.121.3 |
References
- https://github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6 · Patch
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263 · Vendor Advisory, WEB
- https://github.com/n8n-io/n8n · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 8 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Jan 2026)