CVE-2026-21877: N8n RCE

CVE-2026-21877

NVDCVSS scored by security-advisories@github.com

Vulnerability Summary

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.
Severity Level
CRITICAL(9.9)
Published Date
Jan 8, 2026
Last Modified
Jan 20, 2026
PoC
Available(Nuclei)
Exploitation Status
Public exploit available
Root Weakness (CWE)
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended syntax or behavior.
The software allows the attacker to upload or transfer files of dangerous types that can be automatically processed within the product's environment.
CVSS v3.1 Base Metrics — Score 9.9 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • N8n >= 0.123.0 and < 1.121.3
Patched Versions
  • N8n 1.121.3

What to do

Prioritize this fix. Exploit code is public, so attacks can follow quickly.

  1. Check whether you run N8n and which version.
  2. Update to a patched version listed above, then confirm the new version.
  3. Review logs and exposed services for signs of earlier compromise.

Timeline

  • Jan 8, 2026Published
  • Jan 20, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new N8n CVEsYou are reading CVE-2026-21877. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 3, 2026 14:14 UTC