Vulnerability Description
A Beta9 tenant can attach a volume when deploying a function, endpoint, or task queue. The gateway builds the host path by joining the shared volumes root, the workspace name, and the volume identifier from the stub configuration. Nothing checks that the identifier names a volume that workspace owns. Parent-directory segments in the identifier collapse the joined path to the worker's filesystem root, and the worker bind-mounts that path into the sandbox read-write unless the volume was explicitly marked read-only. A tenant with a workspace token can therefore read and write the worker's files, including other tenants' volumes stored on that machine. Confirmed against gateway 0.1.769 and worker 0.1.745. Fixed in gateway 0.1.776 and worker 0.1.756: volume identifiers and mount paths are validated before a mount is built, including for stubs saved before the check existed, and the gateway rejects a volume that does not exist or is not owned by the workspace.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/beam-cloud/beta9
- https://github.com/beam-cloud/beta9/commit/a28bf12cf0007c792a25d8ed282b4e8bf6f30
- https://github.com/beam-cloud/beta9/pull/1897
- https://github.com/beam-cloud/beta9/releases/tag/gateway-0.1.769
- https://github.com/beam-cloud/beta9/releases/tag/gateway-0.1.776
- https://github.com/beam-cloud/beta9/releases/tag/worker-0.1.745
- https://github.com/beam-cloud/beta9/releases/tag/worker-0.1.756
FAQ
What is CVE-2026-120308?
CVE-2026-120308 is a vulnerability with a CVSS score of 9.9 (CRITICAL). A Beta9 tenant can attach a volume when deploying a function, endpoint, or task queue. The gateway builds the host path by joining the shared volumes root, the workspace name, and the volume identifie...
How severe is CVE-2026-120308?
CVE-2026-120308 has been rated CRITICAL with a CVSS base score of 9.9/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-120308?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.