Patchfirst
CVE-2026-120306 Critical · 9.9 EPSS 0.4%

Beta9 build sandbox escape via chroot-only isolation

Fix:see the vendor's fix instructions Instructions ↓

beam-cloud · Beta9 worker

Summary

The Beta9 worker's build step runs tenant shell commands through Buildah with chroot-only isolation, so the commands keep the worker pod's PID, network, IPC, and user namespaces while running as root with CAP_DAC_OVERRIDE. A tenant holding a workspace token can exploit this on the Beta9 worker by submitting a single image build, with no user interaction required, and can then reach the worker's filesystem through /proc/1/root, including the container runtime binaries, the worker's Kubernetes service account token, and host directories mounted into the pod.

Official description · NVD

Beta9 turns each shell command in a tenant image definition into a Dockerfile RUN line and executes it with Buildah on the build worker. The worker image sets BUILDAH_ISOLATION=chroot, and no buildah invocation passes --isolation, so the step only changes its filesystem root. It keeps the worker pod's PID, network, IPC, and user namespaces, runs as uid 0, and holds CAP_DAC_OVERRIDE. PID 1 in that procfs is the worker entrypoint, so /proc/1/root is the worker container's filesystem and is writable. That filesystem contains the runc, buildah, and runsc binaries the worker uses to start tenant containers, the worker's Kubernetes service account token, and the host directories mounted into the pod. Worker pods are privileged. Clip v2 layered builds are the default, so a tenant with a workspace token reaches this by submitting one image build. The read-only proof confirmed the shared namespaces, CAP_DAC_OVERRIDE, and that the worker's runc binary is visible at /proc/1/root. Fixed in worker 0.1.756: Buildah RUN steps, including the WORKDIR mkdir, use OCI isolation with private PID, IPC, and network namespaces, and tenant ARG values are passed only into the build container.

Breakdown
15.2 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 1 Nov 2026. No public exploit code or confirmed exploitation is recorded.

Affected versions and fixes

as published in the CVE record

beam-cloud Beta9 worker

Affected: < 0.1.756

Fix

Upgrade the Beta9 worker to 0.1.756 or later. That release drops chroot isolation: Buildah RUN steps use OCI isolation with private PID, IPC, and network namespaces, and tenant build arguments are applied inside the build container rather than in the Buildah process environment. The fix is commit a28bf12 (pull request 1897), released as worker-0.1.756 on 2026-09-15. Gateway 0.1.776 is the gateway tag cut from the same commit; the isolation change itself is in the worker image.

What security researchers reported

Not named in any threat report yet

Also mentioned in 8 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close