CUBESANDBOX · CVE-2026-120699 · AI agents & MCP
NO FIX YET · SEE WHAT TO DO
CubeSandbox is a sandbox for running AI agents. Before 0.5.1, any authenticated tenant could pass an arbitrary host path through the sandbox creation API, and the host subtree was bind-mounted read-write into their microVM, letting them read and modify host files and run code as root on the host.
first public Sep 18, 2026 · 1 source
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Teams running CubeSandbox as a multi-tenant control plane where authenticated users can create sandboxes are exposed before version 0.5.1. Single-tenant deployments where only trusted operators can call the sandbox API face much less risk. The sources do not describe other deployment conditions.
Not affected if single-tenant, version-0.5.1-or-later
Who cares ai-agents, cubesandbox, multi-tenant, self-hosted
0.5.1.POST /sandboxes with metadata["host-mount"] set.0.5.1.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.
Are you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
This page as .md · .json · 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/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
NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.