CVE-2026-126139 PUBLISHED

Docker Sandboxes mount replay follows replaced source ancestors outside the shared directory

Assigner: Docker
Reserved: 10.11.2026 Published: 26.11.2026 Updated: 26.11.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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 5.3

A workload with write access to a shared workspace retargets a saved read-write mount before a user restarts the target sandbox or triggers kit replacement, exposing previously unshared host data. Destination policy, where enforced, and daemon access still apply.

Product Status

Vendor Docker
Product Docker Sandboxes
Versions Default: unaffected
  • affected from 0.35.0 to 0.54.0 (excl.)

Workarounds

Avoid sharing writable ancestors of another sandbox's mount source with untrusted workloads. Before restarting a target sandbox or changing its kits, ensure that untrusted workloads cannot replace any component of its saved mount source.

Solutions

Upgrade Docker Sandboxes to version 0.54.0 or later.

Credits

  • Ruben Boonen finder

References

Problem Types

  • CWE-61: UNIX Symlink Following CWE