CVE-2026-18171

Docker Sandboxes read-only runtime mount writable through its shared-export alias

Published Aug 12, 2026 CVSS 4.0 · 5.7 Medium EPSS < 1% KEV · Not listed
Description
Docker Sandboxes (sbx) applies the read-only intent of a runtime host mount to the in-guest container bind only: the underlying virtio-fs host-edge grant is added to the sandbox's policy-share allowlist with no access mode. The directory stays writable at its shared-export path, so unprivileged code inside the sandbox can derive that path and write to a host directory the operator attached read-only.

Analysis

AI-generated

Technical impact

Docker Sandboxes enforces read‑only intent of a host mount only for the in‑guest container bind, but it incorrectly grants write access to the underlying virtio‑fs host‑edge through the sandbox’s shared‑export alias. As a result, code running inside the sandbox can discover that path and write to a host directory that the operator intended to be read‑only. The weakness is a classic CWE‑863 misuse of permissions, enabling an attacker who obtains any unprivileged code execution inside the sandbox to tamper with host files that should remain protected, potentially altering configuration, injecting malicious data, or creating backdoors.

Affected Systems

The vulnerability affects Docker’s Docker Sandboxes product. Specific vendor/OS combinations are not listed, and no version range is provided; any release that implements the shared‑export alias for runtime mounts may be susceptible.

Risk and Exploitability

The CVSS score of 5.7 indicates moderate severity. EPSS information is not available, and the vulnerability is not listed in the CISA KEV catalog. The attack vector is inferred to be internal: an attacker must have code that runs within a sandbox to locate the shared‑export path and perform a write. This limits widespread exploitation but still permits a sandbox to modify host data, which can be critical depending on the host contents.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the most recent Docker Sandboxes release that corrects the shared‑export grant to enforce read‑only access.
  • Reconfigure sandbox policies to remove or disable the shared‑export alias for mounts that are intended to be read‑only.
  • Implement host‑level monitoring to detect and alert on write operations originating from sandbox processes.

Generated by OpenCVE AI on August 13, 2026 at 00:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Docker sandboxes
Vendors & Products Docker sandboxes
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Docker Sandboxes (sbx) applies the read-only intent of a runtime host mount to the in-guest container bind only: the underlying virtio-fs host-edge grant is added to the sandbox's policy-share allowlist with no access mode. The directory stays writable at its shared-export path, so unprivileged code inside the sandbox can derive that path and write to a host directory the operator attached read-only.
Title Docker Sandboxes read-only runtime mount writable through its shared-export alias
First Time appeared Docker
Docker docker Sandboxes
Weaknesses CWE-863
CPEs cpe:2.3:a:docker:docker_sandboxes:*:*:*:*:*:*:*:*
Vendors & Products Docker
Docker docker Sandboxes
References
Metrics cvssV4_0

{'score': 5.7, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Docker
Published
Updated
Aug 12, 2026, 5:02 PM
Reserved
Jul 28, 2026, 9:28 PM
Status
Awaiting Analysis
Published
Aug 12, 2026, 3:17 PM
Modified
Oct 23, 2026, 8:10 PM