loopback
← All posts

News / Security / Linux / Packages

Docker Sandboxes Fixes Host File Access Flaw

By Loopback 4 min read

Flat monochrome illustration: docker Sandboxes microVM workspace with an sbx cp path redirected to a host folder.

Docker has fixed a vulnerability in Docker Sandboxes that could turn a routine file copy into access to files outside an approved workspace. CVE-2026-103916 affects the sbx cp command. Exploitation requires a later copy initiated by the user, after malicious sandbox code has prepared a symbolic link in a shared directory.

Docker Sandboxes runs coding agents in isolated environments. This advisory concerns its file-transfer tool and does not establish that every Docker Engine installation or ordinary container is vulnerable.

A file-copy path outside the workspace

Docker's isolation documentation describes local sandboxes as microVMs, each with its own Linux kernel. A developer can share a project directory with an agent while keeping other host files outside that workspace. The separate kernel is only part of the protection. Host programs that move files across that boundary also need to enforce access restrictions.

Endor Labs researcher Peyton Kennedy reported the flaw on November 3, 2026. His investigation found that the copy command resolved host paths without applying the workspace restrictions consistently. A symbolic link is a filesystem entry pointing to another location. Sandbox code could replace a workspace entry with such a link, then wait for a host-side copy to follow it.

That can affect either direction of a transfer. Copying into the sandbox could read an unintended host file. Copying out could overwrite a host file with content controlled by the sandbox. Kennedy identifies credentials and files that influence later code execution as potential targets. The host operation uses the account running the command, so its permissions limit the resulting access.

The copy tool runs on the host, where it can open files that the guest cannot access directly. Reviewing only what an agent can see inside its VM would miss that route. Teams also need to consider the host operations they perform on files an agent has changed.

Affected versions and the completed fix

Docker's CVE record identifies Sandboxes versions 0.28.0 up to, but excluding, 0.51.0 as affected. It lists macOS, Linux and Windows. The fixed version is 0.51.0, released on November 3, 2026.

The 0.51.0 release notes say the copy command now prevents symbolic links in mounted directories from redirecting access to other host paths. Windows handling also blocks escapes involving substituted drives.

Kennedy says an earlier fix intended for 0.48.0 proved incomplete. Use the final affected range when checking an installation. An older release mentioning workspace protections may still need an update. Record the installed release number alongside the advisory when tracking remediation across developer machines.

Flat monochrome illustration: docker logo beside sbx version, a 0.51.0 update package and a project folder.
Check the Sandboxes version before following the update instructions.

Check the Sandboxes installation itself

Docker's installation guide explains that sbx can operate without Docker Desktop or Docker Engine. Checking the Engine version alone cannot establish whether the separate Sandboxes client needs an update. Inventory the developer tool in use, including installations outside the organization's usual package-management system.

The documented version command is:

Host shell · check the Sandboxes version
sbx version

Docker's CLI reference also documents sbx version --debug for daemon and build details. We checked these examples against the documentation. We did not run them on a Sandboxes installation for this article.

Update through the installation method appropriate to the machine, then check the version again. Confirm that the binary used by the developer or automation job is the updated one. Our package-audit guide explains the broader inventory, advisory and recheck process, including the limits of package vulnerability databases.

Read the release notes before recreating environments. Version 0.51.0 changes how built-in agent kits resolve, and some operations on older sandboxes require recreation. Docker explicitly advises saving files and unpushed commits before removing a sandbox. Do not delete working environments simply to make a version check pass.

Temporary precautions and exposure review

Until upgrading, Docker advises avoiding sbx cp when its host-side source or destination sits in a workspace that untrusted sandbox code can modify. Its workaround uses a host-only path instead. Teams unable to establish that separation should pause the affected copy workflow while arranging the update.

For incident review, distinguish a vulnerable installation from evidence of access. Record the installed version, relevant workspaces and copy operations. If evidence indicates that a credential file was read or a sensitive file overwritten, preserve the available records and handle those credentials or files through the organization's incident-response process.

The CISA enrichment in the CVE record marked exploitation as none on November 3. That is a dated assessment, not proof that exploitation cannot occur. We found no confirmed in-the-wild incident in the primary sources reviewed on November 5. The published research demonstrates the vulnerable mechanism, while the release provides a concrete remediation target.

Sources