Skip to main content
Vulnerability Database/CVE-2026-109569

CVE-2026-109569: sandboxed.sh Container Escape Vulnerability

CVE-2026-109569 is a container escape flaw in sandboxed.sh through version 1.3.0 that enables attackers to break isolation and access host files. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109569 Overview

CVE-2026-109569 is a container escape vulnerability in sandboxed.sh through version 1.3.0. The flaw lets code running inside a container workspace access the host filesystem because nsenter attaches to the target process without the --root flag. Agent-run code can resolve absolute paths on the host, then read and modify host files. This bypasses the isolation boundary that sandboxed.sh documents as a security guarantee. The weakness falls under CWE-1188: Initialization of a Resource with an Insecure Default.

Critical Impact

Attackers with code execution inside a sandboxed workspace can read and modify arbitrary files on the host, defeating the container isolation boundary and enabling full host compromise.

Affected Products

  • sandboxed.sh versions up to and including 1.3.0
  • The orb project by Th0rgal, which packages sandboxed.sh for agent workspace isolation
  • Deployments running untrusted or AI-agent-generated code inside sandboxed.sh containers

Discovery Timeline

  • 2026-10-12 - CVE-2026-109569 published to the National Vulnerability Database
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-109569

Vulnerability Analysis

The vulnerability stems from how sandboxed.sh invokes nsenter to execute commands against a container. nsenter accepts flags that select which Linux namespaces of the target process to join, including mount (--mount), PID (--pid), network (--net), and the filesystem root (--root). When --root is omitted, the calling process keeps its own root directory even after entering the target mount namespace. Path resolution for absolute paths then starts at the caller's root, which is the host filesystem rather than the container rootfs. Code executed through this path can therefore reach any file the host user can access.

Root Cause

The root cause is an insecure default in the sandbox control plane. The deployment path in src/api/control.rs of the orb project did not scope nsenter to the container root. The post-fix commit 4ab42e91 describes the remediation as "Harden deploy path: scoped nsenter root + versioned-symlink binary install", confirming the missing --root scoping as the defect.

Attack Vector

An attacker needs the ability to run code inside a sandboxed.sh workspace, which is the normal operating condition for agent-driven code execution. The attacker issues shell commands that reference absolute host paths such as /etc/shadow, /root/.ssh/authorized_keys, or Docker socket paths. Because the sandbox executor enters the container without --root, those absolute paths resolve on the host. The attacker then reads sensitive host data, writes authorized keys for persistence, or tampers with host binaries to pivot into other workloads.

rust
// Patch excerpt from src/api/control.rs (commit 4ab42e91)
 fn maybe_recover_soft_llm_error(result: &mut crate::agents::AgentResult) {
     let is_recoverable = matches!(
         result.terminal_reason,
-        Some(TerminalReason::LlmError) | Some(TerminalReason::AuthError)
+        Some(
+            TerminalReason::LlmError
+                | TerminalReason::AuthError
+                | TerminalReason::RateLimited
+                | TerminalReason::CapacityLimited
+        )
     );
     if !is_recoverable {
         return;
// Source: https://github.com/Th0rgal/orb/commit/4ab42e91b16c452f77d93ca69a040a54229b0aa2

The surrounding commit also introduces the scoped nsenter --root call and versioned-symlink binary installation that closes the escape path. See the VulnCheck Sandbox Escape Advisory for the full technical write-up.

Detection Methods for CVE-2026-109569

Indicators of Compromise

  • Execution of nsenter without the --root or -r flag against container PIDs
  • Agent workspace processes opening host paths such as /etc/shadow, /root/.ssh/, /var/run/docker.sock, or /proc/1/root/
  • Unexpected writes to host system directories originating from processes whose parent is the sandboxed.sh runtime

Detection Strategies

  • Audit execve events for nsenter invocations and alert when the argument list lacks --root/-r while targeting container namespaces
  • Enable Linux auditd rules on sensitive host paths and correlate access events with container runtime PIDs
  • Monitor for sandboxed.sh version strings at or below 1.3.0 across build servers and developer workstations

Monitoring Recommendations

  • Ship host and container telemetry into a unified data lake for cross-boundary correlation of sandbox and host activity
  • Baseline normal agent workspace syscalls and alert on deviations such as access to /etc/, /root/, or kernel module paths
  • Review container runtime logs for nsenter command lines and flag any that enter mount or PID namespaces without a matching root namespace

How to Mitigate CVE-2026-109569

Immediate Actions Required

  • Upgrade sandboxed.sh and the orb deployment to a version containing commit 4ab42e91 or later
  • Stop executing untrusted or agent-generated code in sandboxed.sh workspaces until the patched binary is in place
  • Rotate any secrets, SSH keys, or tokens that were readable from the host while the vulnerable version was deployed

Patch Information

The upstream fix lands in the orb repository as commit 4ab42e91, described as "Harden deploy path: scoped nsenter root + versioned-symlink binary install". The patch adds the --root flag to nsenter invocations so absolute paths resolve inside the container rootfs. Operators should rebuild and redeploy the control plane binary from a commit that includes this change.

Workarounds

  • Restrict execution of nsenter on hosts through AppArmor or SELinux policies that require the --root flag for container entry
  • Run sandboxed.sh on a dedicated host with no sensitive data or credentials on the host filesystem until patched
  • Place the workspace runtime behind a user namespace with a non-root UID mapping so even successful escapes land in an unprivileged context
bash
# Verify nsenter is invoked with container root scoping
ps -ef | grep nsenter
# Expect: nsenter --target <pid> --mount --pid --net --root --wd ...

# Pin sandboxed.sh to a patched release
sandboxed --version   # must be greater than 1.3.0

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.