Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to n8n with high-privilege credentials
-
DeliveryAccess computer-use workflow creation
-
ExploitCraft shell command payload
-
ExecutionInvoke @n8n/computer-use agent on Linux or Windows
-
PersistSandbox absent - command executes on host OS
-
ImpactRead, write, or exfiltrate host filesystem and network resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions: (1) the @n8n/computer-use package must be explicitly installed and actively running - it is not part of a standard n8n installation and must be deliberately added by the operator; (2) the host operating system must be Linux or Windows, as macOS correctly enforces sandbox restrictions and is not affected; (3) the attacker must hold high-privilege access (PR:H per the CVSS 4.0 vector) within the n8n instance, sufficient to create or execute workflows invoking the computer-use agent. No special conditions limit exploitation once these prerequisites are met - an authenticated high-privilege user can execute arbitrary shell commands against the host. The primary limiting factors for defenders are the non-default package requirement and the PR:H authentication threshold, which together mean the vast majority of n8n deployments are not exposed. |
| Impact | The CVSS 4.0 score of 5.5 is moderate overall, but the metric breakdown reveals a more nuanced picture: PR:H and AT:P together reflect that exploitation requires both high-privilege authenticated access to n8n and the deliberate, non-default installation of the @n8n/computer-use package on Linux or Windows - a small subset of all n8n deployments. However, within that subset, the subsequent-system impact metrics SC:H/SI:H/SA:H indicate a full host OS compromise is achievable, meaning the actual blast radius for affected deployments is severe. No EPSS score was provided in the input data. The absence from CISA KEV and the lack of any identified public exploit further reduce immediate urgency for most operators. Multi-tenant or shared n8n deployments where semi-trusted users have workflow execution rights represent the highest-risk configurations, as the PR:H threshold can be met by legitimate platform users - not just external attackers. The discrepancy between the moderate overall score and the high subsequent-system impact is an expected artifact of CVSS 4.0's scoring model for scope-changing, privilege-conditional vulnerabilities and should not be misread as low severity for qualifying environments. |
| Exploit ScenarioDerived | A privileged n8n user on a Linux or Windows deployment with @n8n/computer-use installed constructs a workflow that invokes the computer-use agent with a shell command designed to exfiltrate sensitive files - for example, reading SSH private keys or cloud credential files from the host filesystem and transmitting them to an attacker-controlled server. Because no sandbox restrictions are enforced on Linux and Windows, the shell command executes with the full permissions of the n8n process, granting read/write access to the entire host filesystem and unrestricted outbound network access. No public proof-of-concept exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Shell sandbox bypass in the optional @n8n/computer-use package for n8n exposes the full host filesystem and network to any privileged user who can invoke a computer-use workflow on Linux or Windows, because sandboxing was only implemented for macOS. Affected are n8n versions before 2.29.8 and 2.30.x before 2.30.1; standard n8n installations without the @n8n/computer-use package are entirely unaffected. No public exploit has been identified at time of analysis, but the subsequent-system impact is rated High across confidentiality, integrity, and availability in the vendor-sourced CVSS 4.0 vector.
RemediationAI
The primary fix is to upgrade n8n to version 2.29.8 or later on the 2.29.x branch, or to 2.30.1 or later on the 2.30.x branch, as confirmed by the vendor security advisory at https://github.com/n8n-io/n8n/security/advisories/GHSA-fpg6-x68q-5793. If immediate patching is not feasible, the most effective compensating control is to uninstall or disable the @n8n/computer-use package on Linux and Windows hosts entirely - this eliminates the attack surface completely, with the trade-off of losing all computer-use agent functionality. As an additional layer, restrict creation and execution of workflows that invoke computer-use capabilities to only the most trusted administrators, reducing the pool of principals who can trigger the vulnerable code path. Running the n8n process inside a container with minimal host filesystem bind-mounts and restrictive network egress policies (e.g., via seccomp or network namespaces) can limit the blast radius of exploitation on Linux hosts until the patch is applied, though these controls add operational overhead. Additional details are available via the VulnCheck advisory at https://www.vulncheck.com/advisories/n8n-before-shell-sandbox-bypass-on-linux-windows.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
n8n is an open-source workflow automation platform; @n8n/computer-use is an optional add-on that enables AI agent-driven shell and desktop interaction. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command): the sandboxing logic that restricts filesystem and network access for executed shell commands was conditionally applied only on macOS, leaving the Linux and Windows code paths completely unsandboxed. When the computer-use agent executes shell commands on those platforms, it calls the host OS shell without any confinement, enabling a sandbox escape from the n8n process into the underlying host environment. CPE data identifies the affected product as cpe:2.3:a:n8n-io:n8n across all versions prior to the patched releases. Tags reference Apple (macOS, where the fix was already in place), Microsoft (Windows, newly affected), and n8n as the vendor.
Know when N8n gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Requires non-default @n8n/computer-use on Linux/Windows (AC:H) and high-privilege n8n access (PR:H); full host OS escape drives S:C with C/I/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
n8n before 2.29.8 and 2.30.x before 2.30.1 does not enforce shell sandbox restrictions on Linux and Windows in the @n8n/computer-use package (sandboxing was applied only on macOS). Shell commands executed by the tool run without any filesystem or network restrictions, allowing unrestricted access to the host filesystem and network from within the computer-use agent process. This issue only affects deployments where the @n8n/computer-use package is explicitly installed and running; standard n8n installations are not affected.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
n8n workflow automation (through 1.121.2) allows authenticated users to execute arbitrary code via the n8n service, with
n8n workflow automation (1.65.0 to 1.121.0) allows unauthenticated file access through form-based workflows. A critical
n8n has a fifth critical RCE vulnerability (CVSS 9.9) in the Expression evaluator, enabling code execution through craft
Authenticated users who can create or modify an n8n workflow can achieve remote code execution on the n8n host by abusin
A prototype pollution vulnerability in the XML and GSuiteAdmin nodes of n8n workflow automation platform allows authenti
An authenticated user with workflow creation or modification privileges in n8n workflow automation platform can exploit
n8n-workflows Main Commit ee25413 allows attackers to execute a directory traversal via the download_workflow function w
Authenticated n8n users can hijack administrator accounts when LDAP authentication is enabled by manipulating their LDAP
The n8n package 0.218.0 for Node.js allows Escalation of Privileges. Rated high severity (CVSS 8.8), this vulnerability
SQL injection in n8n's Data Table Get node allows authenticated users with workflow modification permissions to execute
Authenticated users can exploit string formatting and exception handling in n8n's Python task executor to escape sandbox
EUVD-2026-47634
GHSA-4v35-78jc-648r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB