CVE-2026-79994

Summary

The guest-to-host Unix-domain socket relay in Docker Sandboxes validates that a socket path is inside an authorized workspace, but later reconnects using the pathname. A malicious guest can replace an intermediate directory with a symlink between validation and connection, causing the host to connect to an arbitrary AF_UNIX socket outside the shared workspace. This can expose data or host-side capabilities provided by the targeted socket.

Affected Software

VendorProductVersion RangeStatus
DockerDocker Sandboxes0.37.0 < 0.42.0affected

Weaknesses

  • CWE-367: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Workarounds

Use –clone mode and avoid additional read-write host mounts: https://docs.docker.com/ai/sandboxes/usage/#clone-mode

References