Docker Sandboxes
Docker Sandboxes UDS forwarder can reach arbitrary host Unix sockets through a symlink race
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.37.0, < 0.42.0
Fixed in 0.42.0
Mitigation
Upgrade Docker Sandboxes to 0.42.0 or later.
Workaround
Use --clone mode and avoid additional read-write host mounts: https://docs.docker.com/ai/sandboxes/usage/#clone-mode
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.