Docker Sandboxes UDS forwarder can reach arbitrary host Unix sockets through a symlink race
Docker Sandboxes
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Docker Docker Sandboxes |
| No fix yet |
Original description
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.
From the CVE record · Docker