CVE-2026-21877 PUBLISHED

n8n is vulnerable to Remote Code Execution via Arbitrary File Write

Assigner: GitHub_M
Reserved: 05.01.2026 Published: 08.01.2026 Updated: 08.01.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS Score: 10

Product Status

Vendor n8n-io
Product n8n
Versions
  • Version < 1.121.3 is affected

References

Problem Types

  • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE
  • CWE-434: Unrestricted Upload of File with Dangerous Type CWE