{"id":"CVE-2026-120699","kind":"vulnerability","aliases":["CVE-2026-120699"],"related":[],"title":"CubeSandbox: authenticated tenants can bind-mount arbitrary host paths into sandboxes","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.","summary":"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.","severity":"critical","cvss":9.4,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"CubeSandbox","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["ai-agents","ai-tooling","cubesandbox","multi-tenant","self-hosted"],"not_affected_if":["single-tenant","version-0.5.1-or-later"],"how_to_check":"- Check the CubeSandbox version in use; affected versions are those before `0.5.1`.\n- Review whether any tenant can call `POST /sandboxes` with `metadata[\"host-mount\"]` set.","fix":"- Upgrade CubeSandbox to `0.5.1`.","status":"open","published_at":"2026-11-16T21:17:20+00:00","first_seen_at":"2026-11-16T21:38:58+00:00","triaged_at":"2026-11-16T21:39:55+00:00","updated_at":"2026-11-16T21:39:55+00:00","category":"ai-tooling","confidence":0.85,"triage":{"at":"2026-11-16T21:39:55Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade CubeSandbox to `0.5.1`.","reach":"network","title":"CubeSandbox: authenticated tenants can bind-mount arbitrary host paths into sandboxes","impact":"high","summary":"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.","audience":"businesses","category":"ai-tooling","nicknames":[],"who_cares":["cubesandbox","ai-agents","multi-tenant","self-hosted"],"confidence":0.85,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker reads and modifies host files and runs host code as root","analyst_note":"Confirm affected version range and whether the vendor advisory at github.com lists additional fixed versions or workarounds.","how_to_check":"- Check the CubeSandbox version in use; affected versions are those before `0.5.1`.\n- Review whether any tenant can call `POST /sandboxes` with `metadata[\"host-mount\"]` set.","plain_action":"","product_name":"CubeSandbox","needs_analyst":true,"not_affected_if":["version-0.5.1-or-later","single-tenant"],"who_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.","user_interaction":"no","product_ecosystem":"vendor","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000792,"input_tokens":4772,"output_tokens":630,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-120699':15A,18A '-2026':14A,17A '/sandboxes':108C '0.5.1':42B,100C,217C 'access':184C,190C 'agent':22B,40B,97C 'ai':21B,24B,39B,96C 'ai-ag':20B 'ai-tool':23B 'allow':131C,179C 'allowed-prefix':130C 'api':56B 'arbitrari':8A,49B,117C 'authent':2A,44B,102C 'author':127C 'bind':6A,63B,155C 'bind-mount':5A,62B 'call':106C 'check':128C 'co':199C 'co-resid':198C 'code':80B,188C 'compromis':196C 'concurr':90C 'contain':193C 'control':123C 'could':46B 'creation':55B 'cubelet':144C 'cubesandbox':1A,19A,26B,33B,86C 'cve':13A,16A 'default':177C 'execut':189C 'exist':118C 'expos':160C 'file':77B,183C 'fix':214C 'flaw':210C 'forward':138C 'fs':172C 'function':150C 'host':9A,32B,50B,59B,76B,85B,113C,119C,162C,181C,187C 'host-mount':112C 'host-root':180C 'injecthostdirmount':137C 'instant':89C 'issu':212C 'kernel':204C 'let':71B 'lightweight':93C 'machin':208C 'metadata':111C 'microvm':70B,168C 'modif':186C 'modifi':75B 'monitor':209C 'mount':7A,64B,114C,146C,156C 'multi':28B 'multi-ten':27B 'pass':47B 'path':10A,51B,120C,136C,140C 'perform':125C,152C 'permit':104C 'plane':124C 'post':107C 'prefix':132C 'preparehostdirvolum':142C 'prior':98C 'rbind':147C 'read':66B,73B,174C 'read-writ':65B,173C 'recurs':154C 'resid':200C 'root':82B,158C,182C 'run':38B,79B 'runtim':194C 'sandbox':12A,36B,54B,94C 'secur':91C 'self':31B 'self-host':30B 'subtre':60B,163C 'suppli':110C 'tenant':3A,29B,45B,103C,166C,201C 'tool':25B 'use':145C 'valid':133C 'version':216C 'virtio':171C 'virtio-f':170C 'virtual':207C 'virtual-machine-monitor':206C 'without':202C 'write':67B,175C","nicknames":[],"mitigations":[],"who_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.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":["cubesandbox"],"ptokens":["cubesandbox"],"labels":["aiagents","aitooling","critical","cubesandbox","multitenant","selfhosted","vendor"],"campaign_type":null,"search_a":"'-120699':15A,18A '-2026':14A,17A 'arbitrari':8A 'authent':2A 'bind':6A 'bind-mount':5A 'cubesandbox':1A,19A 'cve':13A,16A 'host':9A 'mount':7A 'path':10A 'sandbox':12A 'tenant':3A","search_b":"'0.5.1':42B 'agent':22B,40B 'ai':21B,24B,39B 'ai-ag':20B 'ai-tool':23B 'api':56B 'arbitrari':49B 'authent':44B 'bind':63B 'bind-mount':62B 'code':80B 'could':46B 'creation':55B 'cubesandbox':26B,33B 'file':77B 'host':32B,50B,59B,76B,85B 'let':71B 'microvm':70B 'modifi':75B 'mount':64B 'multi':28B 'multi-ten':27B 'pass':47B 'path':51B 'read':66B,73B 'read-writ':65B 'root':82B 'run':38B,79B 'sandbox':36B,54B 'self':31B 'self-host':30B 'subtre':60B 'tenant':29B,45B 'tool':25B 'write':67B","search_c":"'/sandboxes':108C '0.5.1':100C,217C 'access':184C,190C 'agent':97C 'ai':96C 'allow':131C,179C 'allowed-prefix':130C 'arbitrari':117C 'authent':102C 'author':127C 'bind':155C 'call':106C 'check':128C 'co':199C 'co-resid':198C 'code':188C 'compromis':196C 'concurr':90C 'contain':193C 'control':123C 'cubelet':144C 'cubesandbox':86C 'default':177C 'execut':189C 'exist':118C 'expos':160C 'file':183C 'fix':214C 'flaw':210C 'forward':138C 'fs':172C 'function':150C 'host':113C,119C,162C,181C,187C 'host-mount':112C 'host-root':180C 'injecthostdirmount':137C 'instant':89C 'issu':212C 'kernel':204C 'lightweight':93C 'machin':208C 'metadata':111C 'microvm':168C 'modif':186C 'monitor':209C 'mount':114C,146C,156C 'path':120C,136C,140C 'perform':125C,152C 'permit':104C 'plane':124C 'post':107C 'prefix':132C 'preparehostdirvolum':142C 'prior':98C 'rbind':147C 'read':174C 'read-writ':173C 'recurs':154C 'resid':200C 'root':158C,182C 'runtim':194C 'sandbox':94C 'secur':91C 'subtre':163C 'suppli':110C 'tenant':103C,166C,201C 'use':145C 'valid':133C 'version':216C 'virtio':171C 'virtio-f':170C 'virtual':207C 'virtual-machine-monitor':206C 'without':202C 'write':175C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-09-18T02:33:05+00:00","kev":null,"cvss_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/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","cvss_by":"security-advisories@github.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-120699","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120699","severity":null,"published_at":"2026-11-16T21:17:20+00:00","modified_at":"2026-11-16T21:17:20+00:00","first_seen_at":"2026-11-16T21:38:58+00:00","fetched_at":"2026-11-16T21:38:58+00:00","note":null}],"documents":[{"id":172521,"url":"https://github.com/TencentCloud/CubeSandbox/commit/5c7025f3a393c30e723dd7f071ef1c28d7a2e52e","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":172522,"url":"https://github.com/TencentCloud/CubeSandbox/releases/tag/v0.5.1","title":"Release notes: github.com","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: github.com"},{"id":172523,"url":"https://github.com/TencentCloud/CubeSandbox/security/advisories/GHSA-8frp-jfpv-5vhv","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-09-18T02:33:05+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}