Skip to content
MediumVulnerability

GHSA-fpg6-x68q-5793: n8n: computer-use Shell Sandbox Not Enforced on Linux and Windows

Published
Record updated
View JSON
Affected
  • n8n < 2.29.8, fixed in 2.29.8, released July 8, 2026, 14 days before disclosure
  • n8n >= 2.30.0, < 2.30.1, fixed in 2.30.1, released July 8, 2026, 14 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.6%

Summary

GHSA-fpg6-x68q-5793 affects the shell tool in the @n8n/computer-use package, which applied its sandbox restrictions only on macOS. On Linux and Windows, shell commands ran without filesystem or network restrictions, giving unrestricted access to the host from the computer-use agent process. Only deployments that explicitly install and run @n8n/computer-use are affected, not standard n8n installations.

Mitigation

The issue is fixed in n8n versions 2.29.8 and 2.30.1; upgrade to one of these or later. The fix adds sandbox enforcement on Linux via bubblewrap and disables the shell tool when a working sandbox cannot be established. The opt-out flag --dangerously-disable-shell-sandbox exists for deployments that require unsandboxed shell access. Temporary workarounds: avoid deploying @n8n/computer-use on Linux or Windows hosts until the fix is applied, and restrict access to the n8n instance and computer-use agent to fully trusted users. The source states these workarounds do not fully remediate the risk.