CVE-2025-68613: n8n Improper Control of Dynamically-Managed Code Resources Vulnerability
n8n contains an improper control of dynamically managed code resources vulnerability in its workflow expression evaluation system that allows for remote code execution.
Overview
n8n, an open-source workflow automation platform, contains a remote code execution flaw in its expression evaluation system affecting versions from 0.211.0 up to 1.120.4, as well as version 1.121.0. An authenticated user with workflow creation or editing permissions can supply crafted expressions that escape the evaluation context and run arbitrary code at the privilege level of the n8n server process. Akamai's Security Intelligence and Response Team has observed active exploitation of this vulnerability by a Mirai-based botnet campaign, making prompt remediation urgent.
Vulnerability details
Affected vendor
N8n
Affected product
n8n
Weakness type (CWE)
CWE-913
n8n allows users to embed dynamic expressions in workflow configurations to process data at runtime. The flaw (CWE-913) arises because those expressions are evaluated without sufficient isolation from the underlying server runtime. When the expression evaluator processes user-supplied input, it fails to enforce a trust boundary between the scripting context and the host process, allowing an attacker's expression to reach outside the intended sandbox and interact directly with the operating system or runtime environment.
An attacker who holds a low-privilege authenticated account with permission to create or edit workflows can submit a crafted expression during workflow configuration. When n8n evaluates that expression, it executes with the privileges of the n8n server process. This gives the attacker the ability to read and write files on the server, steal environment variables, modify other workflows, and run arbitrary system-level commands. The attack requires no interaction from another user and no elevated account, making it straightforward to carry out against any exposed instance running an affected version.
Severity and impact
8.8
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High
Exploitation status
This vulnerability is confirmed as actively exploited in the wild — it is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.
Known ransomware campaign use
Unknown
Detection and monitoring
- Audit workflow creation and modification events for accounts that do not normally author workflows, or for expressions containing patterns associated with process execution, file system access, or environment variable reads outside normal data-transformation usage.
- Monitor the n8n host process for unexpected child process spawning. The n8n server process should not ordinarily fork shells or system utilities; any such child process is a strong indicator of expression sandbox escape.
- Review application logs for workflow execution errors or sandbox-related exceptions that coincide with expression submissions from unfamiliar user accounts, which may indicate failed or probing exploitation attempts.
Remediation
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Federal (FCEB) remediation due date
March 25, 2026
Additional hardening
- Upgrade n8n to version 1.120.4 or 1.122.0 (or any later release), which introduce additional safeguards restricting expression evaluation. Version 1.121.0 remains affected; do not treat it as a fixed release.
- Restrict workflow creation and editing permissions to a minimal set of fully trusted accounts. Because exploitation requires authenticated access with authoring rights, reducing that population directly shrinks the attack surface.
- Run the n8n process under a dedicated low-privilege OS account with no write access outside its working directory, no access to sensitive environment variables, and outbound network access limited to required integration endpoints only.
- Place n8n behind a network perimeter that prevents direct internet access to the instance. Require VPN or equivalent authenticated network access before users can reach the n8n interface, reducing exposure to opportunistic scanning campaigns.
Key dates
Published (NVD)
December 19, 2025
Added to CISA KEV
March 11, 2026
Remediation deadline
March 25, 2026
Last updated
October 13, 2026
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-v98v-ff95-f3cp
- https://nvd.nist.gov/vuln/detail/CVE-2025-68613
- https://www.akamai.com/blog/security-research/2026/feb/zerobot-malware-targets-n8n-automation-platform
- https://github.com/n8n-io/n8n/commit/08f332015153decdda3c37ad4fcb9f7ba13a7c79
- https://github.com/n8n-io/n8n/commit/1c933358acef527ff61466e53268b41a04be1000
- https://github.com/n8n-io/n8n/commit/39a2d1d60edde89674ca96dcbb3eb076ffff6316
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68613
Frequently Asked Questions
If n8n runs inside your authorization boundary, CVE-2025-68613 affects your Federal Risk and Authorization Management Program (FedRAMP) authorization directly. CISA lists this vulnerability in its Known Exploited Vulnerabilities (KEV) catalog, and the March 25, 2026 remediation deadline has already passed. An unpatched KEV inside your boundary is an assessor finding. An overdue one is visible to both your assessor and your sponsoring agency. At this point, you remediate now or formally document the mitigation and the delay.
Knox does not patch your software. Remediating n8n is your responsibility under the FedRAMP shared-responsibility model. What Knox provides is the pre-authorized, single-tenant boundary to remediate within, plus continuous compliance monitoring and audit-artifact coverage that support documentation of the fix for your next assessment. The remediation work is yours to carry out. Managing the compliance posture around it is not something you have to handle on your own.
Knox's automated continuous monitoring platform watches your environment for newly disclosed vulnerabilities and compliance issues on an ongoing basis. For a vulnerability like CVE-2025-68613, that means exposure surfaces during continuous monitoring rather than only when an assessor flags it at a scheduled review.
Knox runs a FedRAMP-as-a-Service platform. It gives SaaS vendors a pre-authorized cloud boundary on AWS, Azure, and GCP. Your application inherits 60-80% of the required security controls. You reach FedRAMP authorization in about 90 days for roughly 90% less than the traditional $3.5M path. Book a meeting and Knox will map your path to authorization.
If CVE-2025-68613 remains unremediated, it is already a Plan of Action and Milestones (POA&M) item. A growing POA&M list is what turns a routine continuous-monitoring review into a difficult conversation with your sponsoring agency. Closing the finding out and documenting why the deadline was missed is what keeps your authorization clean and the agency relationship intact.
Access Continuous Compliance
We never compromise on security. Meet with our team to discuss scope, readiness, and map your company’s accelerated path to government certification.