News · Docker · 2 min read
Event date: · Published:
Docker patches a symlink mount-swap flaw in Docker Sandboxes used by AI coding agents
Docker fixed a symlink-following flaw (CVE-2026-126139) in Docker Sandboxes that let an attacker with shared, writable workspace access redirect another sandbox's mount to expose or modify files.
Docker published a security advisory on November 26, 2026 for a symlink-following vulnerability in Docker Sandboxes, the sandboxing feature Docker documents as the basis for sandboxed AI coding-agent execution, detailed in the CVE-2026-126139 advisory from GitHub Security Advisories.
What changed in Docker Sandboxes
- Tracked as
GHSA-cv5w-q82v-38wgandCVE-2026-126139, published on November 26, 2026. - CVSS severity rated Moderate, with a score of 5.3.
- Vulnerability type classified as
CWE-61(symlink following). - Affects Docker Sandboxes versions
0.35.0up to but not including0.54.0. - Fixed in version
0.54.0.
The issue stems from how Docker Sandboxes re-resolves saved mount paths whenever a sandbox container is replaced, such as during a kit change or a restart. An attacker who has access to a shared writable workspace can swap a source ancestor directory for a symlink, redirecting another sandbox's mount and exposing or modifying files through what is meant to be an isolated read-write mount.
What it means for people who build with AI
Docker Sandboxes exists specifically to isolate AI coding-agent code execution, so a flaw that lets one sandbox's mount redirect into another sandbox's files undermines the isolation guarantee developers rely on when letting agents run untrusted code. Teams running several sandboxed agents against a shared writable workspace should check which version they are running before continuing that setup.
Fix and availability
The fix is available in Docker Sandboxes version 0.54.0; deployments on versions 0.35.0 up to 0.54.0 remain exposed until they upgrade.
Sources
- CVE-2026-126139: Docker Sandboxes symlink following mount-swap vulnerability (GitHub Security Advisories / Docker, November 26, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.