Skip to content
AgentProv

2026-11-03 · 2026-Q4

Docker Sandboxes: A Sandboxed Agent Plants Symlinks So `sbx cp` Reads and Writes Host Files (CVE-2026-103916)

Which agent, run, or tenant is this?

The question layer 6 asks, and failed here.
Fixable
Vendor patch
Vendor response
Patched
In the wild
No
Actor
Attacker

Target

Docker Sandboxes (`sbx` CLI) before 0.51.0

Impact

Endor Labs found that `sbx cp`, which copies files between host and sandbox outside the sandbox's folder allowlist, resolves symlinks on the host. An agent with write access to its workspace can place a symlink in a parent directory (the `-L` flag only guards the last path component), so the operator's routine copy-out writes attacker content into any existing host directory they can write to, such as shell configs or git hooks, and a copy-in pulls a named host file such as `~/.aws/credentials` into the sandbox. Successful copies print nothing. CVSS 3.1 8.2. A v0.48.0 fix was incomplete; fixed in v0.51.0 on November 3, 2026

Root cause

The host-side copy tool followed paths the sandboxed agent controlled

CVE

Sources

Catalog

Cite this: AgentProv incident record: Docker Sandboxes: A Sandboxed Agent Plants Symlinks So `sbx cp` Reads and Writes Host Files (CVE-2026-103916) (2026-11-03). https://agentprov.com/incidents/2026-11-03-docker-sandboxes-a-sandboxed-agent-plants-symlinks-so-sbx-cp-reads-and-writes