PoC Monitor
← All CVEs
CVE-2026-21877published 8 Jan 2026 00:39 UTCData: JSON · API

N8n-io n8n

n8n is vulnerable to Remote Code Execution via Arbitrary File Write

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.

First public PoC 4.5 daysafter publication · 12 Jan 2026 · nuclei template
Public PoCs32 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n8n-io n8n
  • < 1.121.3

Fixed in 1.121.3

Mitigation

Upgrade n8n to 1.121.3 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 Jan 2026 · t = 0First public PoC12 Jan 2026 · t+4.5d

First public PoC 4.5 days after publication; not in CISA KEV. First PoC: nuclei template: n8n >= 0.123.0 and < 1.121.3 - Remote Code Execution (nuclei template, 12 Jan 2026).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
CVEs-Labs/CVE-2026-21877 22 Apr 2026 +105 d 0 PoC
monkeontheroof/cve-2026-21877-rce 26 Apr 2026 +109 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
nuclei templatenuclei template: n8n >= 0.123.0 and < 1.121.3 - Remote Code Execution12 Jan 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /{var}/renad-secure-gate

Body markers
"address" in application/json
Ports
5678
Seen in
1 repo: CVEs-Labs/CVE-2026-21877
Evidence
CVEs-Labs/CVE-2026-21877/CVE-2026-21877_exploit.py:19

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /{var}/renad-secure-gate
(?i)^/[^/?#]*/renad-secure-gate(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /{var}/renad-secure-gate
alert http any any -> $HOME_NET [5678] (msg:"GG PoC-Monitor CVE-2026-21877 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/renad-secure-gate"; http.request_body; content:"|22|address|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-21877; classtype:web-application-attack; sid:9512933; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /{var}/renad-secure-gate
title: n8n-io n8n exploit attempt (CVE-2026-21877)
id: gg-pocmon-cve-2026-21877-9512933
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-21877. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-21877
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/renad-secure-gate'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.21877