PoC Monitor
← All CVEs
CVE-2025-68613published 19 Dec 2025 22:23 UTCData: JSON · API

N8n-io n8n

n8n Vulnerable to Remote Code Execution via Expression Injection

n8n is an open source workflow automation platform. Versions starting with 0.211.0 and prior to 1.120.4, 1.121.1, and 1.122.0 contain a critical Remote Code Execution (RCE) vulnerability in their workflow expression evaluation system. Under certain conditions, expressions supplied by authenticated users during workflow configuration may be evaluated in an execution context that is not sufficiently isolated from the underlying runtime. An authenticated attacker could abuse this behavior to execute arbitrary code with the privileges of the n8n process. Successful exploitation may lead to full compromise of the affected instance, including unauthorized access to sensitive data, modification of workflows, and execution of system-level operations. This issue has been fixed in versions 1.120.4, 1.121.1, and 1.122.0. Users are strongly advised to upgrade to a patched version, which introduces additional safeguards to restrict expression evaluation. If upgrading is not immediately possible, administrators should consider the following temporary mitigations: Limit workflow creation and editing permissions to fully trusted users only; and/or deploy n8n in a hardened environment with restricted operating system privileges and network access to reduce the impact of potential exploitation. These workarounds do not fully eliminate the risk and should only be used as short-term measures.

First public PoC 2.3 daysafter publication · 22 Dec 2025
Public PoCs2422 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-913
CISA KEV 11 Mar 202682 days after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

n8n-io n8n
  • >= 0.211.0, < 1.120.4
  • = 1.121.0

Fixed in 1.120.4

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70CVE published19 Dec 2025 · t = 0First public PoC22 Dec 2025 · t+2.3dAdded to CISA KEV11 Mar 2026 · t+82d

First public PoC 2.3 days after publication; added to CISA KEV 82 days after publication. First PoC: rxerium/CVE-2025-68613 (created 22 Dec 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

22 PoCs · 12 informational · 7 not a PoC · 2 suspicious or fake

PoCs 22
RepositoryCreatedStarsAssessment
rxerium/CVE-2025-68613 22 Dec 2025 +2.3 d 27 Scanner
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

sahilccras/Blackash-CVE-2025-68613 22 Dec 2025 +2.9 d 0 PoC
nehkark/CVE-2025-68613 23 Dec 2025 +3.7 d 0 PoC
GnuTLam/POC-CVE-2025-68613 23 Dec 2025 +3.8 d 0 PoC
secjoker/CVE-2025-68613 24 Dec 2025 +4.5 d 0 PoC
intelligent-ears/CVE-2025-68613 24 Dec 2025 +4.6 d 0 Scanner
manyaigdtuw/CVE-2025-68613_Scanner 24 Dec 2025 +4.8 d 0 Scanner
AbdulRKB/n8n-RCE 25 Dec 2025 +5.6 d 0 PoC
JohannesLks/CVE-2025-68613-Python-Exploit 25 Dec 2025 +5.7 d 1 PoC
hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate 25 Dec 2025 +5.9 d 5 PoC
mbanyamer/n8n-Authenticated-Expression-Injection-RCE-CVE-2025-68613 25 Dec 2025 +5.9 d 2 PoC
RianJuniorSf/Analysis-And-POC-N8N-CVE-2025-68613 25 Dec 2025 +6 d 1 PoC
Dlanang/homelab-CVE-2025-68613 26 Dec 2025 +6.4 d 0 PoC via PoC Index
LingerANR/n8n-CVE-2025-68613 26 Dec 2025 +7 d 7 PoC
gagaltotal/n8n-cve-2025-68613 28 Dec 2025 +8.8 d 0 PoC
Rishi-kaul/n8n-CVE-2025-68613 29 Dec 2025 +9.7 d 0 PoC
ahmedshamsddin/n8n-RCE-CVE-2025-68613 3 Jan 2026 +14 d 0 PoC
Victorhugofariasvieir66/relatorio-n8n.md 22 Jan 2026 +34 d 0 PoC
h3raklez/CVE-2025-68613 3 Mar 2026 +74 d 0 PoC
Giangdurian/CVE-2026-21858-and-CVE-2025-68613 31 Jul 2026 +224 d 0 PoC
rmhowe425/POC-CVE-2025-68613 5 Sep 2026 +260 d 0 PoC
bijoumj/cve-2025-68613-ctf 13 Oct 2026 +298 d 0 PoC
Informational 12
RepositoryCreatedStarsAssessment
wioui/n8n-CVE-2025-68613-exploit 22 Dec 2025 +3 d 108 Informational · write-up
reem-012/poc_CVE-2025-68613 23 Dec 2025 +3.3 d 0 Informational · write-up
intbjw/CVE-2025-68613-poc-via-copilot 23 Dec 2025 +3.3 d 0 Informational · write-up
ali-py3/Exploit-CVE-2025-68613 23 Dec 2025 +3.6 d 0 Informational · write-up
r4j3sh-com/CVE-2025-68613-n8n-lab 24 Dec 2025 +4.6 d 0 Informational · write-up
Flags · score 45
  • README gives an archive password
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

Khin-96/n8n-cve-2025-68613-thm 26 Dec 2025 +6.7 d 1 Informational · detection
J4ck3LSyN-Gen2/n8n-CVE-2025-68613-TryHackMe 26 Dec 2025 +6.8 d 1 Informational · write-up
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Ak-cybe/CVE-2025-68613-n8n-rce-analysis 26 Dec 2025 +6.9 d 1 Informational · detection
cv-sai-kamesh/n8n-CVE-2025-68613 29 Dec 2025 +9.5 d 0 Informational · write-up
TheInterception/n8n_CVE-2025-68613_exploit_payloads 3 Jan 2026 +15 d 0 Informational · write-up
canpilayda/n8n-RCE-CVE-2025-68613 14 Apr 2026 +116 d 0 Informational · write-up
azilRababe/CVE-2025-68613 21 Jun 2026 +184 d 0 Informational · write-up
Not a PoC 7
RepositoryCreatedStarsAssessment
Chocapikk/CVE-2026-21858 7 Jan 2026 +19 d 307 Not a PoC · unrelated
sec-dojo-com/CVE-2026-21858 20 Jan 2026 +32 d 1 Not a PoC · unrelated
Alhakim88/CVE-2026-21858 30 Jan 2026 +42 d 0 Not a PoC · unrelated
kaleth4/CVE-2026-21858 9 Apr 2026 +111 d 0 Not a PoC · unrelated
Fomovet/cve-2026-21858 21 Jun 2026 +184 d 1 Not a PoC · unrelated
Usman0220/CVE-2026-33017-Langflow-RCE 8 Jul 2026 +201 d 0 Not a PoC · unrelated
qianlijaingshan/n8n-cve-2026-21858 21 Jul 2026 +213 d 0 Not a PoC · unrelated
Suspicious or fake 2
RepositoryCreatedStarsAssessment
TheStingR/CVE-2025-68613-POC 22 Dec 2025 +2.8 d 29 Fake
LKSTA/LKSDIKMEN-Cybersecurity-2026 25 Jan 2026 +36 d 8 Fake
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

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.

PoC characteristics

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

POST /rest/workflows

Key headers
Accept: application/json Cookie: {var} X-N8n-Api-Key: {var}
Body markers
"name" "nodes" "pinData" "connections" "active" "settings" "tags" "versionId":"" "uiContext":"workflow_list" "projectId" "name":"cmd" "some":"payload" "parameters" "name":"Start" "type":"n8n-nodes-base.start" "typeVersion" "position" "values" "string" "name":"platform" "value" "name":"nodeVersion" "name":"cwd" "name":"Exploit" "type":"n8n-nodes-base.set" "name":"CVE-2025-68613 PoC" "name":"PoC_Scan_ in application/json
Ports
5678, 8080
Seen in
12 repos: AbdulRKB/n8n-RCE, GnuTLam/POC-CVE-2025-68613, JohannesLks/CVE-2025-68613-Python-Exploit, Victorhugofariasvieir66/relatorio-n8n.md, ahmedshamsddin/n8n-RCE-CVE-2025-68613, gagaltotal/n8n-cve-2025-68613, h3raklez/CVE-2025-68613, hackersatyamrastogi/n8n-exploit-CVE-2025-68613-n8n-God-Mode-Ultimate, intelligent-ears/CVE-2025-68613, mbanyamer/n8n-Authenticated-Expression-Injection-RCE-CVE-2025-68613, sahilccras/Blackash-CVE-2025-68613, secjoker/CVE-2025-68613
Evidence
AbdulRKB/n8n-RCE/exploit.py:129 GnuTLam/POC-CVE-2025-68613/poccve2025-68613.py:59 JohannesLks/CVE-2025-68613-Python-Exploit/exploit.py:142 JohannesLks/CVE-2025-68613-Python-Exploit/exploit.py:215 JohannesLks/CVE-2025-68613-Python-Exploit/exploit.py:292 Victorhugofariasvieir66/relatorio-n8n.md/README.md:45

DELETE /api/v1/workflows/{var}

Key headers
Accept: application/json
Seen in
1 repo: intelligent-ears/CVE-2025-68613
Evidence
intelligent-ears/CVE-2025-68613/CVE-2025-68613-exploit.yaml:51

POST /api/v1/workflows/{var}/run

Key headers
Accept: application/json
Content-Type
application/json
Seen in
1 repo: intelligent-ears/CVE-2025-68613
Evidence
intelligent-ears/CVE-2025-68613/CVE-2025-68613-exploit.yaml:43

POST /form/vulnerable-form

Body markers
"data" "files" "f-test01" "filepath":"/etc/hostname" "originalFilename":"test.bin" "mimetype":"application/octet-stream" "size" "filepath":"/etc/passwd" "f-test02" "filepath":"/proc/self/environ" "f-test03" "filepath":"/root/.n8n/config" "f-test04" "filepath":"/root/.n8n/database.sqlite" in application/json
Ports
5678
Seen in
1 repo: Giangdurian/CVE-2026-21858-and-CVE-2025-68613
Evidence
Giangdurian/CVE-2026-21858-and-CVE-2025-68613/REPORT.md:583 Giangdurian/CVE-2026-21858-and-CVE-2025-68613/REPORT.md:607 Giangdurian/CVE-2026-21858-and-CVE-2025-68613/REPORT.md:623 Giangdurian/CVE-2026-21858-and-CVE-2025-68613/REPORT.md:637 Giangdurian/CVE-2026-21858-and-CVE-2025-68613/REPORT.md:659

GET /

Key headers
Cookie: polito="{var}"
Seen in
1 repo: manyaigdtuw/CVE-2025-68613_Scanner
Evidence
manyaigdtuw/CVE-2025-68613_Scanner/n8n_Scanner_cve68613.py:566

GET /rest/login

Key headers
Cookie: {var}
Ports
5678
Seen in
1 repo: h3raklez/CVE-2025-68613
Evidence
h3raklez/CVE-2025-68613/poc_final.sh:27

GET /rest/projects

Ports
5678
Seen in
1 repo: AbdulRKB/n8n-RCE
Evidence
AbdulRKB/n8n-RCE/exploit.py:57

GET /rest/projects/my-projects

Ports
5678, 8080
Seen in
1 repo: LingerANR/n8n-CVE-2025-68613
Evidence
LingerANR/n8n-CVE-2025-68613/CVE-2025-68613.py:99

GET /rest/workflows/new

Query
projectId=
Ports
5678
Seen in
1 repo: AbdulRKB/n8n-RCE
Evidence
AbdulRKB/n8n-RCE/exploit.py:71

GET /rest/workflows/{var}/run

Ports
5678, 8080
Seen in
1 repo: LingerANR/n8n-CVE-2025-68613
Evidence
LingerANR/n8n-CVE-2025-68613/CVE-2025-68613.py:282

POST /rest/projects/my-projects

Ports
5678, 8080
Seen in
1 repo: LingerANR/n8n-CVE-2025-68613
Evidence
LingerANR/n8n-CVE-2025-68613/CVE-2025-68613.py:177

Regex

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

POST /rest/workflows
(?i)^/rest/workflows(?:[?#].*)?$
POST /rest/login
(?i)^/rest/login(?:[?#].*)?$
DELETE /rest/workflows/{var}
(?i)^/rest/workflows/[^/?#]*(?:[?#].*)?$
POST /rest/workflows/{var}/run
(?i)^/rest/workflows/[^/?#]*/run(?:[?#].*)?$
GET /rest/executions/{var}
(?i)^/rest/executions/[^/?#]*(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /rest/workflows
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2025-68613 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/workflows"; http.header; content:"Accept: application/json"; nocase; http.header_names; content:"Cookie"; nocase; http.header_names; content:"X-N8n-Api-Key"; nocase; http.request_body; content:"|22|name|22|"; http.request_body; content:"|22|nodes|22|"; http.request_body; content:"|22|pinData|22|"; http.request_body; content:"|22|connections|22|"; http.request_body; content:"|22|active|22|"; http.request_body; content:"|22|settings|22|"; http.request_body; content:"|22|tags|22|"; http.request_body; content:"|22|versionId|22|:|22||22|"; http.request_body; content:"|22|uiContext|22|:|22|workflow_list|22|"; http.request_body; content:"|22|projectId|22|"; http.request_body; content:"|22|name|22|:|22|cmd|22|"; http.request_body; content:"|22|some|22|:|22|payload|22|"; http.request_body; content:"|22|parameters|22|"; http.request_body; content:"|22|name|22|:|22|Start|22|"; http.request_body; content:"|22|type|22|:|22|n8n-nodes-base.start|22|"; http.request_body; content:"|22|typeVersion|22|"; http.request_body; content:"|22|position|22|"; http.request_body; content:"|22|values|22|"; http.request_body; content:"|22|string|22|"; http.request_body; content:"|22|name|22|:|22|platform|22|"; http.request_body; content:"|22|value|22|"; http.request_body; content:"|22|name|22|:|22|nodeVersion|22|"; http.request_body; content:"|22|name|22|:|22|cwd|22|"; http.request_body; content:"|22|name|22|:|22|Exploit|22|"; http.request_body; content:"|22|type|22|:|22|n8n-nodes-base.set|22|"; http.request_body; content:"|22|name|22|:|22|CVE-2025-68613 PoC|22|"; http.request_body; content:"|22|name|22|:|22|PoC_Scan_"; reference:url,poc.griffinguard.io/cve/CVE-2025-68613; classtype:web-application-attack; sid:9871608; rev:1;)
POST /rest/login
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2025-68613 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/login"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|emailOrLdapLoginId|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-68613; classtype:web-application-attack; sid:9349039; rev:1;)
DELETE /rest/workflows/{var}
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2025-68613 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"DELETE"; http.uri; content:"/rest/workflows/"; http.header_names; content:"Cookie"; nocase; http.header_names; content:"X-N8n-Api-Key"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-68613; classtype:web-application-attack; sid:9763579; rev:1;)
POST /rest/workflows/{var}/run
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2025-68613 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/rest/workflows/"; http.uri; content:"/run"; http.header_names; content:"Cookie"; nocase; http.header_names; content:"X-N8n-Api-Key"; nocase; http.request_body; content:"|22|workflowData|22|"; http.request_body; content:"|22|startNodes|22|"; http.request_body; content:"|22|destinationNode|22|:|22|Edit Fields|22|"; http.request_body; content:"|22|destinationNode|22|:|22|Set|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-68613; classtype:web-application-attack; sid:9588660; rev:1;)
GET /rest/executions/{var}
alert http any any -> $HOME_NET [5678,8080] (msg:"GG PoC-Monitor CVE-2025-68613 n8n-io n8n exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/rest/executions/"; http.header_names; content:"Cookie"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-68613; classtype:web-application-attack; sid:9490821; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /rest/workflows
title: n8n-io n8n exploit attempt (CVE-2025-68613)
id: gg-pocmon-cve-2025-68613-9871608
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68613. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68613
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rest/workflows'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68613
POST /rest/login
title: n8n-io n8n exploit attempt (CVE-2025-68613)
id: gg-pocmon-cve-2025-68613-9349039
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68613. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68613
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rest/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68613
DELETE /rest/workflows/{var}
title: n8n-io n8n exploit attempt (CVE-2025-68613)
id: gg-pocmon-cve-2025-68613-9763579
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68613. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68613
logsource:
  category: webserver
detection:
  selection:
    cs-method: DELETE
    cs-uri-stem|contains|all:
      - '/rest/workflows/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68613
POST /rest/workflows/{var}/run
title: n8n-io n8n exploit attempt (CVE-2025-68613)
id: gg-pocmon-cve-2025-68613-9588660
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68613. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68613
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/rest/workflows/'
      - '/run'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68613
GET /rest/executions/{var}
title: n8n-io n8n exploit attempt (CVE-2025-68613)
id: gg-pocmon-cve-2025-68613-9490821
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-68613. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-68613
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/rest/executions/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.68613