Beta9 is vulnerable to a Container Escape via Unvalidated Sandbox File Paths
## Summary Beta9 is vulnerable to a Container Escape via Unvalidated Sandbox File Paths ## Component Beta9 worker (github.com/beam-cloud/beta9) ## Affected versions worker < 0.1.756 ## Description The Beta9 worker serves the sandbox file API from outside the container. `getHostPathFromContainerPath` in `pkg/worker/container_server.go` turns the tenant's path into a worker path. If the unresolved path starts with a mount destination, including the default upload mount at `/tmp/.beta9`, the remainder is joined onto that mount's source with `filepath.Join`, which cleans parent-directory segments after the prefix check. A long enough run of those segments names any absolute path on the worker. A
…