---
id: "CVE-2026-126329"
page: "https://infrastack.ai/live/CVE-2026-126329"
kind: "vulnerability"
aliases: ["CVE-2026-126329"]
title: "Docker Sandboxes: unverified state directories let local users run commands as root"
severity: "high"
cvss: 7.3
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["docker-sandboxes", "linux", "macos", "other", "sandboxd", "sbx"]
not_affected_if: ["default-environment", "single-user-machine", "unprivileged-only-use"]
published_at: "2026-11-12T16:19:04+00:00"
first_seen_at: "2026-11-12T16:44:02+00:00"
updated_at: "2026-11-12T16:45:36+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126329", "first_seen_at": "2026-11-12T16:44:02+00:00"}]
exploit_sources: []
---

# Docker Sandboxes: unverified state directories let local users run commands as root

Link for people: https://infrastack.ai/live/CVE-2026-126329 (this .md is for agents)

Docker Sandboxes reuses state and configuration directories without checking who owns them. If sbx or sandboxd runs as root with HOME or XDG_STATE_HOME pointing to an attacker-controlled path, a local unprivileged user can swap in control sockets and config that the root process trusts, potentially running commands as root.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the Docker Sandboxes version with `sbx --version` and compare it to `0.53.0`.
- Look for `sbx` or `sandboxd` running as root and check whether `HOME` or `XDG_STATE_HOME` in its environment points to a path that unprivileged users can write to.
- Review how the root invocation is launched, such as sudo rules or service units that set these variables.

## Timeline

- 2026-11-12T16:44:02+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126329

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
