Docker Sandboxes privilege escalation through untrusted state directories
Summary
| CVE | CVE-2026-126329 |
|---|---|
| State | PUBLISHED |
| Assigner | Docker |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-12 16:19:04 UTC |
| Updated | 2026-11-12 20:04:52 UTC |
| Description | Docker Sandboxes reuses existing state and configuration directories without verifying their ownership. If sbx or sandboxd is run as root with HOME or, on Linux, XDG_STATE_HOME pointing to an attacker-controlled location, a local unprivileged user can substitute control-plane sockets and configuration trusted by the root process, potentially executing commands as root. Exploitation requires a privileged invocation with an attacker-influenced environment. The issue affects Linux and macOS and is fixed in version 0.53.0. |
Risk And Classification
Primary CVSS: v4.0 7.3 HIGH from [email protected]
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Problem Types: CWE-282 | CWE-282 CWE-282: Improper Ownership Management
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.3 | HIGH | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 7.3 | HIGH | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Docker | Docker Sandboxes | affected 0.7.0 0.53.0 semver | MacOS, Linux |
| CNA | Docker | Docker Sandboxes | unaffected 0.53.0 * semver | MacOS, Linux |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| docs.docker.com/ai/sandboxes | [email protected] | docs.docker.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Ryan Selikow (en)
Additional Advisory Data
Solutions
CNA: Upgrade Docker Sandboxes to version 0.53.0 or later.
Workarounds
CNA: Avoid running sbx or sandboxd as root. If a privileged invocation is required, use HOME and XDG_STATE_HOME values belonging to the target account and ensure its state and configuration directories are not controlled by another user.