Docker Sandboxes vulnerability lets AI agents access sensitive files outside the sandbox (CVE-2026-103916)
Docker Sandboxes vulnerability lets AI agents access sensitive files outside their sandbox (CVE-2026-103916) | Endor Labs
Endor Labs researchers disclosed a vulnerability in Docker Sandboxes, CVE-2026-103916, in which an AI coding agent can use the sbx cp command to bypass the sandbox allowlist and access unauthorized files on the developer's host. The agent only needs to place a symbolic link in an approved workspace; when the operator runs a routine copy command per the product documentation, the CLI resolves the host path through the link, thereby reading sensitive files such as cloud credentials and SSH keys, or overwriting host files and potentially executing code as the operator; an attacker can also use prompt injection to induce the agent to exploit the vulnerability. The vulnerability is rated High (CVSS 3.1 8.2); the fix originally scheduled for release with v0.48.0 on October 13, 2026 was deemed incomplete, and the final fix was released with v0.51.0 on November 3, 2026; users should upgrade as soon as possible. The authors say this is their second discovery of the same kind of issue in an AI agent sandbox in 2026, namely that the security model does not cover a second file channel to the host.
The author reproduced both the read and write escape paths and provided fixed versions, noting that the file channel executed by the operator on the agent's behalf is the one most easily left outside the sandbox security model.