Security News

Three Ways Beta9 Lets a Tenant Escape Its Sandbox

Three Beta9 vulnerabilities let any tenant escape its sandbox and reach the worker host as root. Upgrade worker to 0.1.756 and gateway to 0.1.776 now.

Brandefense logo 4 Min Read
Dark glass server rack cracked open with a sheet of glowing red light leaking into the next rack, cover art for Beta9's tenant sandbox escape vulnerabilities

Three new vulnerabilities in Beam Cloud’s Beta9, the open-source engine behind Beam’s serverless GPU platform, let a tenant escape its own sandbox. The escape reaches the host worker and other tenants sharing it, not just the tenant’s own container. Operators update the worker service to 0.1.756, and the gateway service to 0.1.776, now.

Advisory
Severity CriticalStatus Patch available
Beta9 Tenant Sandbox Escape
Upgrade the worker to 0.1.756 and the gateway to 0.1.776 to close all three flaws.
Published
2026-11-01 UTC
For
Beta9 self-hosted operators and Beam customers on affected builds
Sharing
TLP:CLEAR

Who Runs Beta9, and Why the Wall Matters

Beta9 is the open-source engine behind Beam, used for serverless GPU inference, isolated code-execution sandboxes and background task queues. A company can self-host it on its own AWS, GCP or bare-metal infrastructure, or run the same engine as Beam’s managed cloud service. All three flaws sit in the wall the product depends on: the line between one tenant’s workload and the host, or another tenant’s workload on the same worker.

CVE-2026-120306, CVE-2026-120307 and CVE-2026-120308 all score CVSS 3.1 9.9 Critical, vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. There is no CVSS 4.0 score in the record or NVD. All three are credited to JFrog Security Research via its CNA, listed on each record as reefs@jfrog.com. None is in CISA’s Known Exploited Vulnerabilities catalog as of 1 November 2026.

A Build Step Reaches the Worker’s Own Files (CVE-2026-120306)

Beta9 turns each shell command in a tenant’s image definition into a Dockerfile RUN line and runs it with Buildah on the build worker. The worker image sets BUILDAH_ISOLATION=chroot, so each RUN step only changes its filesystem root.

The step still keeps the worker pod’s PID, network, IPC and user namespaces, runs as uid 0, and holds CAP_DAC_OVERRIDE. From inside it, /proc/1/root resolves to the worker’s own filesystem and is writable. That reaches binaries such as runc and buildah, plus the pod’s Kubernetes service account token, exactly what lets a bug escalate privileges on the host.

A File API Call Reaches Any Path on the Host (CVE-2026-120307)

The worker’s sandbox file API turns a tenant’s container path into a worker path through getHostPathFromContainerPath. Parent-directory segments placed before a mount’s path get quietly cleaned away during the join, the same bug class as a recent WinRAR path traversal flaw. A followed symbolic link opens a second route around the same check.

Upload, download, stat, list, find-in-files, replace-in-files and delete-file all call that function. A tenant with only a workspace token and a running sandbox can read, write, list and delete files on the worker host as root, including other tenants’ files on it. One proof read the worker pod’s Kubernetes token this way, for a file that does not exist inside the sandbox. Beta9’s own shipped manifests bind that token to the cluster-admin role.

A Volume Mount Reaches the Worker’s Filesystem Root (CVE-2026-120308)

A tenant can attach a volume when it deploys a function, endpoint or task queue. The gateway joins the shared volumes root, the workspace name and a volume identifier the tenant supplies, with nothing checking that the identifier names a volume the workspace actually owns.

Parent-directory segments in that identifier collapse the path down to the worker’s own filesystem root, which the worker then bind-mounts into the sandbox, read-write unless the volume was marked read-only. The reporting researcher confirmed this against gateway 0.1.769 and worker 0.1.745; the flaw starts in the gateway, so the worker upgrade alone does not close it.

All three reach the same place a VMware ESXi sandbox escape once did on a different platform. The Kubernetes token two of them expose is also a shortcut to what MITRE’s T1068 technique describes.

Fixed Versions

Beam Cloud fixed all three in one pull request on GitHub, merged as commit a28bf12. The table below lists both upgrades.

Component Affects Fixed version
Beta9 worker CVE-2026-120306, CVE-2026-120307, CVE-2026-120308 0.1.756
Beta9 gateway CVE-2026-120308 0.1.776

What to Do Now

Do this now
  1. Upgrade the Beta9 worker to 0.1.756 or later on every cluster that builds tenant images or runs sandboxes.Closes CVE-2026-120306 and CVE-2026-120307.
  2. Upgrade the Beta9 gateway to 0.1.776 or later alongside the worker.Needed for CVE-2026-120308; the worker fix alone does not close it.
  3. Review the Kubernetes service account bound to worker pods in your remote-node manifests.Beta9’s own shipped manifests bind it to cluster-admin.

Frequently Asked Questions.

What do the three new Beta9 vulnerabilities let an attacker do?

CVE-2026-120306, CVE-2026-120307 and CVE-2026-120308 each let a tenant holding only a workspace token escape the isolation between its own sandboxed workload and the Beta9 worker host, or another tenant's workload on the same worker.

Do I need to upgrade both the Beta9 worker and the gateway?

Upgrade the worker to 0.1.756 for all three CVEs. CVE-2026-120308 also needs the gateway upgraded to 0.1.776, because that flaw starts in the gateway's own path construction and the worker fix alone does not close it.

Are the Beta9 vulnerabilities in CISA's Known Exploited Vulnerabilities catalog?

None of the three, CVE-2026-120306, CVE-2026-120307 or CVE-2026-120308, appears in CISA's Known Exploited Vulnerabilities catalog as of 1 November 2026.

Who found and reported the Beta9 vulnerabilities?

All three are credited to JFrog Security Research via its CNA, listed on each CVE record as reefs@jfrog.com.

Sources

  1. 1 NVD: CVE-2026-120306
  2. 2 NVD: CVE-2026-120307
  3. 3 NVD: CVE-2026-120308
  4. 4 GitHub: beam-cloud/beta9
  5. 5 GitHub: beam-cloud/beta9 pull request #1897 (fix)
  6. 6 CISA Known Exploited Vulnerabilities Catalog
Share