CVE-2025-68613
9.5 CISA KEVn8n · n8n
n8n contains a critical remote code execution vulnerability in its workflow expression evaluation system, allowing authenticated attackers to execute arbitrary code with the privileges of the n8n process.
Executive summary
A critical remote code execution vulnerability in n8n is currently being actively exploited in the wild, posing a severe risk of full system compromise.
Vulnerability
The vulnerability is an improper control of dynamically managed code resources (CWE-913) located within the workflow expression evaluation system. Authenticated users can supply expressions during workflow configuration that execute in an insufficiently isolated runtime environment, leading to remote code execution.
Business impact
The CVSS score of 9.5 indicates a critical severity level, reflecting the potential for complete loss of confidentiality, integrity, and availability. Successful exploitation grants an attacker the ability to execute arbitrary system-level commands, which may result in the theft of sensitive workflow data, unauthorized access to connected services, and total compromise of the underlying host environment.
Remediation
Immediate Action: Upgrade n8n to version 1.120.4, 1.121.1, or 1.122.0 immediately to apply the necessary security safeguards to the expression evaluation engine.
Proactive Monitoring: Review application and system logs for unusual workflow executions, unauthorized process spawning, or suspicious outbound network traffic originating from the n8n container or server.
Compensating Controls: If an immediate upgrade is not feasible, restrict workflow creation and editing permissions to only the most trusted users and ensure the instance is isolated within a hardened, low-privilege environment.
Exploitation status
Public Exploit Available: Yes, a Metasploit module exists and multiple public proof of concept repositories are available on GitHub.
Analyst recommendation
Given the confirmed active exploitation and the critical nature of the remote code execution flaw, organizations must prioritize patching their n8n instances. Immediate application of the fixed versions is the only reliable method to mitigate this threat, as environmental mitigations provide only a temporary reduction in attack surface.
More n8n CVEs
History
- Disclosed CVE record published
- Published in the daily brief critical section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Published in the daily brief kev section
- Analyst report written
- Fix documented version 1.120.4 per OSV.dev
Sources
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp
- https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79
- https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000
- https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316