Docker Patches Two macOS Sandbox-Escape Flaws in Docker Sandboxes (CVE-2026-77179, CVE-2026-79994)
Docker fixed CVE-2026-77179 (CVSS 9.4, Critical) and CVE-2026-79994 (CVSS 8.7, High), two sandbox-escape flaws in Docker Sandboxes on macOS that let malicious guest workloads read or modify host files and reach AF_UNIX sockets outside the workspace; both are…
Docker has patched two sandbox-escape vulnerabilities in Docker Sandboxes, its microVM-based tool for running untrusted code and AI coding agent workloads in isolated guest environments. CVE-2026-77179 (rated Critical, CVSS 9.4) is a symlink-handling flaw in the virtio-fs host server on macOS, affecting versions 0.28.0 through before 0.42.0 (0.28.0 to 0.41.x per The Hacker News). A malicious guest can replace a directory with a symlink that virtio-fs follows — a race described variously as a symlink race (Cyber Security News) and a symlink-following flaw (The Hacker News) — allowing guest code to escape the shared project directory and read or modify arbitrary host files with the VMM user's rights, potentially leading to host code execution. CVE-2026-79994 (rated High, CVSS 8.7) is a time-of-check-to-time-of-use race in the guest-to-host Unix socket relay, affecting versions 0.37.0 through before 0.42.0, that lets a sandbox connect to AF_UNIX sockets outside its workspace. Both flaws involve unsafe filesystem path and symlink handling. Fixes shipped in Docker Sandboxes 0.42.0, released September 7, with disclosure on September 15; 0.43.0 is the current release. Interim mitigations are to use clone mode and avoid read-write host mounts until upgrading. Neither flaw has been exploited, and neither is in CISA's KEV catalog. Separately, Report 1 references the earlier destination-escape flaw CVE-2026-17106 in docker cp, fixed in Docker Desktop 4.86.0, as prior context.
- CVE-2026-77179: Critical, CVSS 9.4 — symlink flaw (race) in the virtio-fs host server of Docker Sandboxes on macOS, letting guest code escape the shared project directory and read or modify host files as the VMM user, potentially leading…
- CVE-2026-77179 affects Docker Sandboxes 0.28.0 through before 0.42.0 (described as 0.28.0 to 0.41.x in The Hacker News)
- CVE-2026-79994: High, CVSS 8.7 — time-of-check-to-time-of-use race in the guest-to-host Unix socket relay, letting a sandbox connect to AF_UNIX sockets outside its workspace; affects 0.37.0 through before 0.42.0
- Both flaws fixed in Docker Sandboxes 0.42.0, released September 7; disclosed September 15; 0.43.0 is the current release
- Mitigations where upgrading is delayed: use clone mode and avoid read-write host mounts
- No exploitation reported and neither flaw is in CISA's KEV catalog
- Docker Sandboxes run untrusted code and AI coding agent workloads in isolated microVMs; the escape runs with the host account's (VMM user's) rights
- Context: earlier destination-escape flaw CVE-2026-17106 in docker cp was fixed in Docker Desktop 4.86.0 (mentioned by Cyber Security News only)
Coverage timelineoldest first · each row is one article
- · 1d agoCritical Docker Sandbox Vulnerabilities Enable Malicious Guests to Escape Isolated microVM Workspaces
Cyber Security News· 62
Docker patched two sandbox-escape flaws, CVE-2026-77179 and CVE-2026-79994, letting malicious guest workloads access host files and sockets.
- · 23h agoCritical Docker Sandboxes Flaw Lets Malicious Guest Code Read and Modify macOS Host Files
The Hacker News· 56
Docker fixed CVE-2026-77179 (CVSS 9.4), a virtio-fs symlink flaw letting code inside macOS Sandboxes VMs read and modify host files; update to 0.42.0.
Vulnerabilities in this storyAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2026-17106 | Path Traversal via Link Following in Moby go-archive Tar Extraction The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) fail to confine filesystem operations to the destination directory: entry placement is decided with lexical string checks, but the actual filesystem operations follow OS-resolved paths, so links shipped inside an archive can escape the extraction target. An attacker who controls the contents of an archive being extracted — for example a malicious image layer or a supplied tar handled by Moby-based tooling — can create or overwrite files at arbitrary paths writable by the extracting process. The CVSS 4.0 vector (AV:L, AT:P, UI:A) indicates exploitation requires local access to the extraction context plus certain preconditions, rather than remote unauthenticated access. Anyone running software that embeds the vulnerable moby/go-archive routines, notably Moby/Docker-based container engines that apply image layers or unpack untrusted archives, is potentially affected. There is no evidence of exploitation so far: no public proof-of-concept, not listed in CISA KEV, and EPSS puts 30-day exploitation probability at 0.3%. Do: Upgrade affected Moby/Docker components to the vendor-patched release once Docker's advisory specifies fixed versions, and if you consume moby/go-archive as a Go module, bump it to the fixed version and rebuild. Until patched, avoid extracting untrusted tar archives (docker load, layers from untrusted registries, automated tar unpacking jobs) on hosts where the extracting process holds write access to sensitive paths, and run extraction under least-privilege accounts. Review CI/CD pipelines and cron jobs that unpack user-supplied archives into privileged locations, as these are the most likely attack paths. | 7.1 | <1% |
| massmillions of Moby-based Docker Engine/Docker Desktop hosts plausibly affected, though only those extracting attacker-controlled archives or image layers are… | ||
| CVE-2026-77179 | Symlink Escape in Docker Sandboxes virtio-fs Exposes macOS Host Files A symlink-resolution flaw (CWE-59) in the virtio-fs host server used by Docker Sandboxes on macOS allows a malicious guest VM to break out of its shared workspace. The bug occurs when the host server reopens an unlinked file from a stored path: the guest can replace a parent directory with a symlink so the reopen resolves outside the intended share. A successful exploit lets the guest read or modify arbitrary files on the macOS host as the VMM user, with potential host code execution, reflected in a CVSS 4.0 score of 9.4 (critical). This affects users running Docker's Sandboxes feature on macOS hosts, particularly where the sandbox is used to execute untrusted or AI-generated code. No public proof of concept is known and the flaw is not listed in CISA's KEV, so exploitation status is none known. Do: Update Docker Desktop on macOS to the latest release, which contains Docker's fix for the virtio-fs symlink handling, as soon as it is available to you. Until patched, disable the Sandboxes feature on macOS hosts and avoid executing untrusted or AI-generated code inside it. If the feature has been used with untrusted code, review the host for unexpected file modifications or processes running as the VMM user. | 9.4 | — |
| moderate≈tens of thousands of macOS Docker Desktop users (opt-in Sandboxes feature) | ||
| CVE-2026-79994 | TOCTOU Symlink Race in Docker Sandboxes Socket Relay Exposes Host Sockets Docker Sandboxes contains a time-of-check/time-of-use race condition (CWE-367) in the guest-to-host Unix-domain socket relay: a socket path is validated to sit inside the authorized workspace, but the host later reconnects by re-resolving that same pathname. A malicious guest can swap an intermediate directory in the path for a symlink during the window between validation and connection, tricking the host into connecting to an arbitrary AF_UNIX socket outside the shared workspace. Successful exploitation lets the guest read data from, or invoke capabilities exposed by, the targeted host-side socket, with high confidentiality and integrity impact on both the vulnerable component and subsequent systems per the CVSS 4.0 vector (8.7, local attack vector, no privileges or user interaction required). Any developer or environment using Docker Sandboxes to run semi-trusted or untrusted code is affected, since the attacker must already control code inside a sandbox. No public proof of concept exists, the flaw is not on the CISA KEV list, and no exploitation in the wild is known. Do: Apply the vendor fix as soon as Docker publishes patched builds, and check Docker's security advisory (assigned by [email protected]) for the exact fixed version of Docker Sandboxes/Docker Desktop. Until patched, treat Sandboxes as isolation-best-effort only: do not run untrusted code, and audit which host AF_UNIX sockets are reachable through the relay, since those become the blast radius of a successful race. Monitor guest workspaces for processes rapidly creating or renaming directories along shared socket paths, which is characteristic of exploitation attempts. | 8.7 | — |
| large≈100,000–1,000,000 developers (subset of Docker's roughly 20 million monthly active developers who use the opt-in Sandboxes feature) |