CVE-2026-120699

CubeSandbox: Unrestricted host-directory bind-mount: any sandbox-create caller mounts arbitrary host paths (RW) into their MicroVM

Published Nov 16, 2026 CVSS 4.0 · 9.4 Critical EPSS n/a KEV · Not listed
Description
CubeSandbox is an instant, concurrent, secure, and lightweight sandbox for AI agents. Prior to 0.5.1, any authenticated tenant permitted to call POST /sandboxes can supply metadata["host-mount"] with an arbitrary existing host path because the control plane performs no authorization check or allowed-prefix validation for the path. injectHostDirMounts forwards the path to prepareHostDirVolume, where Cubelet uses mount --rbind through the function to perform a recursive bind mount as root and exposes the host subtree to the tenant's MicroVM through virtio-fs, read-write by default. This allows host-root file access and modification, host code execution, access to the container runtime, and compromise of co-resident tenants without a kernel or virtual-machine-monitor flaw. This issue is fixed in version 0.5.1.

Analysis

AI-generated

Technical impact

CubeSandbox’s control plane fails to check authentication or validate host‑path prefixes supplied in the host‑mount metadata for the POST /sandboxes endpoint. Any authenticated caller can therefore mount any existing host directory with read/write access into a MicroVM. This grants the tenant ability to read, modify, and execute files on the host system, directly manipulate container runtime directories, and potentially compromise co‑resident tenants without invoking kernel or virtual‑machine‑monitor vulnerabilities. The weakness is a classic directory traversal combined with privilege escalation, exposing the host to arbitrary code execution.

Affected Systems

The vulnerability affects TencentCloud’s CubeSandbox installations running versions prior to 0.5.1. CubeSandbox is a lightweight, concurrent sandbox designed for AI agents, and the flaw resides in its API endpoint for sandbox creation.

Risk and Exploitability

The CVSS score of 9.4 reflects the high severity, and while a precise EPSS score is not available, the risk remains significant due to the lack of any known mitigations. The defect is not listed in the CISA KEV catalog. Exploitation requires only authenticated access to the sandbox creation API and does not depend on kernel or hypervisor bugs, making the attack vector network‑based and confined to tenants with valid credentials. The absence of public exploit code does not mitigate the intrinsic danger of the capability to mount arbitrary host directories with full privileges.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade CubeSandbox to version 0.5.1 or later, which validates host‑mount paths and removes the unchecked bind‑mount functionality.
  • Reinforce tenant access controls on the POST /sandboxes endpoint to ensure only trusted users can create sandboxes, and audit permissions for the host‑mount feature.
  • If an immediate upgrade is infeasible, disable or restrict the host‑mount capability for all tenants and monitor API calls for suspicious mount attempts.

Generated by OpenCVE AI on November 16, 2026 at 22:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description CubeSandbox is an instant, concurrent, secure, and lightweight sandbox for AI agents. Prior to 0.5.1, any authenticated tenant permitted to call POST /sandboxes can supply metadata["host-mount"] with an arbitrary existing host path because the control plane performs no authorization check or allowed-prefix validation for the path. injectHostDirMounts forwards the path to prepareHostDirVolume, where Cubelet uses mount --rbind through the function to perform a recursive bind mount as root and exposes the host subtree to the tenant's MicroVM through virtio-fs, read-write by default. This allows host-root file access and modification, host code execution, access to the container runtime, and compromise of co-resident tenants without a kernel or virtual-machine-monitor flaw. This issue is fixed in version 0.5.1.
Title CubeSandbox: Unrestricted host-directory bind-mount: any sandbox-create caller mounts arbitrary host paths (RW) into their MicroVM
Weaknesses CWE-22
CWE-269
CWE-284
References
Metrics cvssV4_0

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

Subscriptions

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-269

    Improper Privilege Management

  • CWE-284

    Improper Access Control

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 16, 2026, 9:20 PM
Reserved
Nov 2, 2026, 7:50 PM
Status
Received
Published
Nov 16, 2026, 9:17 PM
Modified
Nov 16, 2026, 10:18 PM