CVE-2026-126139 in Sandboxesinfo

Summary

by MITRE • 11/26/2026

Docker Sandboxes re-resolves saved mount paths when replacing a sandbox container during kit changes or restarting a sandbox. An attacker able to replace a source ancestor in a shared writable workspace with a symlink can redirect another sandbox's mount to a different host directory, exposing its contents and permitting modification through read-write mounts. The destination must remain accessible to the daemon and allowed by policy where enforced. Saved-mount replay during kit replacement was introduced in version 0.35.0; ordinary restart replay was added in version 0.45.0. This saved-mount replay issue is fixed in version 0.54.0.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability described involves a critical flaw within the Docker sandbox implementation, specifically concerning how mount paths are resolved and persisted during container lifecycle events such as kit changes or restarts. In this architecture, sandboxes utilize shared writable workspaces where multiple containers may interact with common directories to facilitate data sharing and state persistence. The core technical failure lies in the mechanism used for saved-mount replay, which is responsible for re-establishing volume mounts when a sandbox container is replaced or restarted. This process was introduced in version 0.35.0 for kit replacements and expanded in version 0.45.0 to cover ordinary restarts. The flaw arises because the system does not sufficiently validate whether the source path being replayed remains a legitimate directory rather than a symbolic link.

An attacker with the ability to modify files within a shared writable workspace can exploit this lack of validation by replacing a source ancestor directory with a symlink pointing to an arbitrary location on the host filesystem. When the sandbox container is subsequently restarted or its kit is changed, the Docker daemon executes the saved-mount replay logic. During this process, it resolves the mount path and inadvertently follows the maliciously crafted symbolic link. This action effectively redirects the sandbox's internal view of that directory to point at a different host directory entirely. Consequently, the sandbox gains access to files and directories outside its intended scope, bypassing isolation boundaries designed to protect sensitive data or system integrity.

The operational impact of this vulnerability is severe, as it allows for both information disclosure and unauthorized modification of data. By redirecting mounts via symlinks, an attacker can expose contents from other sandboxes or host directories that were not meant to be accessible within the sandbox environment. Furthermore, because these mounts are often configured with read-write permissions to allow normal application functionality, the attacker can also modify files in the target directory. This capability undermines the fundamental security principle of least privilege and container isolation, potentially leading to data theft, persistence mechanisms, or further lateral movement within a compromised host. The exploit is contingent upon specific conditions: the destination path must remain accessible to the Docker daemon, and any enforced policies must not explicitly block the symlinked target, which makes this attack vector viable in many standard configurations where strict policy enforcement is absent or misconfigured.

This vulnerability aligns with CWE-59 Improper Link Resolution Before File Access, as it involves an incorrect resolution of a symbolic link to access files outside of intended directories. It also relates to CWE-200 Exposure of Sensitive Information to an Unauthorized Actor and CWE-78 Improper Neutralization of Special Elements used in an OS Command if the symlink leads to executable paths. From a threat modeling perspective, this behavior can be mapped to MITRE ATT&CK techniques such as T1552 Unsecured Credentials or T1046 Network Service Discovery depending on what is exposed, but more accurately fits T1083 File and Directory Discovery for reconnaissance and potentially T1070 Indicator Removal on Host if used to cover tracks. The vulnerability highlights the risks associated with complex volume management systems where path resolution logic lacks rigorous validation against symlink attacks.

Mitigation strategies must focus on updating the Docker sandbox implementation to version 0.54.0 or later, which contains the fix for this saved-mount replay issue. In environments where immediate patching is not feasible, administrators should enforce strict access control policies that prevent users from creating symbolic links within shared writable workspaces. Additionally, configuring mount points with read-only permissions where possible can mitigate the risk of data modification, although it does not fully address the information disclosure aspect. It is also advisable to audit workspace configurations to ensure that sensitive host directories are not inadvertently exposed through misconfigured mounts or symlinks. Regular security assessments should include checks for symlink vulnerabilities in containerized environments to prevent similar exploitation vectors from being leveraged by attackers seeking to break out of sandboxed contexts.

Responsible

Docker

Reservation

11/10/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.00201

KEV

no

Activities

low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!