Skip to main content

CubeSandbox CVE-2026-120699

| EUVDEUVD-2026-126649 CRITICAL
Path Traversal (CWE-22)
2026-11-16 GitHub_M
9.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as tenant, call POST /sandboxes
  2. Delivery
    Supply metadata host-mount hostPath=/
  3. Exploit
    Control plane skips authorization and prefix check
  4. Install
    Cubelet runs mount --rbind as root
  5. C2
    Host root exposed RW via virtio-fs
  6. Execute
    Write authorized_keys or cron entry
  7. Impact
    Host RCE and cross-tenant compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires (1) an authenticated tenant with permission to call POST /sandboxes (PR:L - the baseline privilege in a multi-tenant deployment running untrusted agent code), and (2) use of the Cube-specific metadata["host-mount"] extension documented in examples/host-mount/. The only path precondition is that the supplied hostPath already exists on the Cubelet node, trivially satisfied by '/'. Limiting factors: this is not pre-authentication - a caller must hold tenant credentials able to create sandboxes; the issue affects all versions since host-mount was introduced up to but excluding 0.5.1, and per the advisory there is NO feature flag, config option, or allow-list anywhere in the pre-0.5.1 codebase that gates it, so default deployments are exploitable. readOnly defaults to false, so write access (and thus host RCE) is available without any extra setting.

Impact

This is a genuine high-priority issue, not a high-CVSS-but-low-real-risk case. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC/VI/VA:H and subsequent-system SC/SI/SA:H describes a network-reachable, low-complexity flaw requiring only the baseline tenant privilege (PR:L) that yields full host and cross-tenant compromise - and the vendor advisory's data-flow trace (CubeAPI→CubeMaster→Cubelet) independently corroborates the mechanism, so the severity signals and the described mechanism agree rather than conflict. The vuln.today decision label is act_now, which reinforces urgency. No EPSS score and no CISA KEV entry were provided in the input, so exploitation-probability and active-exploitation signals are absent (not low - simply missing); treat 'no public exploit identified' with the caveat that the GHSA advisory itself publishes a concrete example host-mount payload. The one material nuance: PR:L means an attacker must already be an authenticated tenant allowed to call POST /sandboxes, so this is a privilege-escalation/tenant-escape bug rather than a pre-auth internet-wide worm - but in a multi-tenant 'run untrusted AI-agent code' deployment, which is exactly CubeSandbox's purpose, that baseline privilege is precisely what untrusted users are handed, making the practical barrier very low.

Exploit ScenarioDerived

An authenticated tenant on a shared CubeSandbox node calls POST /sandboxes and sets metadata["host-mount"] to {"hostPath":"/","mountPath":"/host","readOnly":false}, causing Cubelet to recursively bind-mount the entire host root read-write into the attacker's MicroVM via virtio-fs. From inside the 'isolated' sandbox the attacker reads /etc/shadow, host SSH and TLS keys, the containerd socket, and co-resident tenants' rootfs, then writes root's authorized_keys or a cron/systemd unit for host RCE as root. The GHSA advisory publishes this exact example payload, but the input does not confirm verified working exploit code, so treat it as a public proof-of-concept reference rather than a weaponized exploit.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 16, 2026

CubeSandbox before 0.5.1 performs no authorization or path-allow-list check on the tenant-supplied metadata["host-mount"] field, so any authenticated tenant permitted to call POST /sandboxes can rbind an arbitrary existing host path - including / - into their MicroVM read-write, then read host secrets, reach the containerd socket, and modify co-resident sandboxes' data. Because the bind mount runs as root on the Cubelet node and is exported through virtio-fs, the isolation boundary is bypassed without any kernel or hypervisor flaw, and a write to /etc/cron.d or root's authorized_keys yields host code execution as root. The vendor released a fix in 0.5.1 (PR #756, commit 5c7025f); no public exploit identified at time of analysis, but the decision label is act_now given that default pre-0.5.1 deployments are exploitable by any tenant with sandbox-creation rights.

RemediationAI

Upgrade to CubeSandbox 0.5.1 (release tag v0.5.1, commit 5c7025f3a393c30e723dd7f071ef1c28d7a2e52e, PR #756) per the advisory at https://github.com/TencentCloud/CubeSandbox/security/advisories/GHSA-8frp-jfpv-5vhv; the fix adds an allowed_host_mount_prefixes setting that defaults to ["/data/shared/"], validates that each configured prefix is absolute, non-empty and not "/" or ".", auto-appends a trailing slash, and rejects any hostPath that does not fall under an allowed prefix. Operators who rely on host-mount should keep the configured prefix list as narrow as possible and review it after upgrading, since any path under an allowed prefix remains mountable read-write into the caller's MicroVM. For environments that cannot upgrade immediately, note that pre-0.5.1 code has no feature flag or config that disables host-mount, so the exposure can only be bounded by limiting which principals hold credentials that allow POST /sandboxes; the vendor's allow-list is the identified complete remediation.

Affected VersionsENISA

CubeSandbox < 0.5.1

Affected Packages

euvd cubesandbox fix: 0.5.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a cross-service input-validation and access-control gap mapped to CWE-22 (path traversal), with the advisory also tagging CWE-284 and CWE-269. A tenant-supplied Cube extension, metadata["host-mount"], is lifted verbatim by CubeAPI in create_sandbox and placed into the sandbox annotations; the authentication middleware forwards only the request path and method to the operator's auth callback and never sees the body, so the callback cannot deny a host-mount even if configured to. CubeMaster's injectHostDirMounts then validates only that hostPath and mountPath begin with '/', with no allow-list, sensitive-prefix denylist, or containment check, and forwards the path over gRPC. Cubelet's prepareHostDirVolume/bindHostDir executes /usr/bin/mount --rbind <tenant path> <bind destination> as root and remounts read-only only when the tenant requests it (readOnly defaults to false); the bind destination under /data/cubelet/hostdir/<sandboxID>/rw is shared into the guest via virtio-fs, so the guest sees the entire recursively bound host subtree. The advisory reports no feature flag, config option, or allow-list anywhere in the pre-0.5.1 Go/Rust/config tree gating this feature, and the only precondition - that the host path exists - is satisfied by '/'.

Know when Cubesandbox gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.9 CRITICAL

Network-reachable API callable by any authenticated tenant (PR:L, AV:N, AC:L, UI:N); the MicroVM-to-host and cross-tenant breakout is a scope change (S:C) with full host confidentiality, integrity, and availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

2
Patch available
Nov 16, 2026 - 22:19 EUVD
CVE Published
Nov 16, 2026 - 20:45 cve.org
CRITICAL 9.4

DescriptionCVE.org

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.

Technical POC Analysis

The primary bug is CWE-22: tenant-controlled path input is used to build a host pathname without restricting it to a safe directory.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CubeSandbox versions prior to 0.5.1 contain a critical authorization flaw that allows any authenticated tenant with sandbox-creation rights to mount arbitrary host paths-including the root filesystem-into their MicroVM, effectively bypassing the isolation boundary. This enables tenants to read host secrets, access the containerd socket, modify co-resident sandboxes' data, and achieve root-level code execution on the Cubelet node. Leadership should care because this undermines the core multi-tenant security model of the platform and could lead to full host compromise and cross-tenant data breaches.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis, but a fix is available in CubeSandbox 0.5.1; interim mitigations include restricting POST /sandboxes access to trusted tenants, monitoring for anomalous bind mount requests, and isolating affected hosts from critical internal networks.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
emerging AI-agent sandbox product, limited real-world production footprint
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +47
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy