Skip to content
OpenAdvisories
Critical · 10.0 Scanner template Public exploit CVE-2026-21877 EUVD-2026-1037GHSA-v364-rw7m-3263

n8n is vulnerable to Remote Code Execution via Arbitrary File Write

Published Jan 8, 2026 · Updated Jan 8, 2026 · 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.

Affected products

VendorProductAffectedFixed
n8n-io n8n < 1.121.3 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm n8n >= 0.123.0, < 1.121.3 1.121.3 GHSA-v364-rw7m-3263

Advisories 1

References