Skip to content

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

CriticalCVSS 10.0 EPSS 5.4% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
n8n >= 0.123.0, < 1.121.3 1.121.3 Fixed
npm n8n(npm) >= 0.123.0, < 1.121.3 1.121.3 Fixed
n8n-io n8n = < 1.121.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
n8n-io n8n = < 1.121.3 No fix listed
npm n8n(npm) >= 0.123.0, < 1.121.3 1.121.3
n8n >= 0.123.0, < 1.121.3 1.121.3

References