Critical severityOSV Advisory· Published Jan 8, 2026· Updated Jan 8, 2026
n8n is vulnerable to Remote Code Execution via Arbitrary File Write
CVE-2026-21877
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
n8nnpm | >= 0.123.0, < 1.121.3 | 1.121.3 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-v364-rw7m-3263ghsaADVISORY
- github.com/n8n-io/n8n/commit/f4b009d00d1f4ba9359b8e8f1c071e3d910a55f6mitrex_refsource_MISC
- github.com/n8n-io/n8n/security/advisories/GHSA-v364-rw7m-3263ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.