{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-120306", "assignerOrgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d", "state": "PUBLISHED", "assignerShortName": "JFROG", "dateReserved": "2026-11-01T12:32:40.057Z", "datePublished": "2026-11-01T12:49:05.857Z", "dateUpdated": "2026-11-01T12:49:05.857Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "48a46f29-ae42-4e1d-90dd-c1676c1e5e6d", "shortName": "JFROG", "dateUpdated": "2026-11-01T12:49:05.857Z" }, "title": "Beta9 build sandbox escape via chroot-only isolation", "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-653", "description": "CWE-653: Improper Isolation or Compartmentalization", "type": "CWE" } ] }, { "descriptions": [ { "lang": "en", "cweId": "CWE-269", "description": "CWE-269: Improper Privilege Management", "type": "CWE" } ] } ], "affected": [ { "vendor": "beam-cloud", "product": "Beta9 worker", "collectionURL": "https://github.com/beam-cloud/beta9/releases", "packageName": "github.com/beam-cloud/beta9", "repo": "git://github.com/beam-cloud/beta9", "programFiles": [ "docker/Dockerfile.worker", "pkg/worker/image.go", "pkg/worker/image_build_layered.go", "pkg/abstractions/image/builder.go", "pkg/scheduler/pool_local.go" ], "versions": [ { "status": "affected", "version": "0", "lessThan": "0.1.756", "versionType": "semver" } ], "defaultStatus": "unaffected" } ], "descriptions": [ { "lang": "en", "value": "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "
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.
" } ] } ], "references": [ { "url": "https://github.com/beam-cloud/beta9", "name": "Beta9 repository", "tags": [ "product" ] }, { "url": "https://github.com/beam-cloud/beta9/pull/1897", "name": "Handle sandbox edge cases (fix pull request)", "tags": [ "patch" ] }, { "url": "https://github.com/beam-cloud/beta9/commit/a28bf12cf0007c792a25d8ed282b4e8bf6f30393", "name": "Fix commit a28bf12", "tags": [ "patch" ] }, { "url": "https://github.com/beam-cloud/beta9/releases/tag/worker-0.1.756", "name": "worker-0.1.756", "tags": [ "release-notes" ] } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "Default clip v2 layered image build on a privileged build-pool worker" } ], "cvssV3_1": { "version": "3.1", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseSeverity": "CRITICAL", "baseScore": 9.9, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H" } } ], "solutions": [ { "lang": "en", "value": "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.", "supportingMedia": [ { "type": "text/html", "base64": false, "value": "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.
" } ] } ], "timeline": [ { "time": "2026-09-15T04:03:00.000Z", "lang": "en", "value": "Fix merged in pull request 1897 (commit a28bf12)" }, { "time": "2026-09-15T04:03:00.000Z", "lang": "en", "value": "Fixed release worker-0.1.756 published. No vendor security advisory was filed with the pull request." } ], "credits": [ { "lang": "en", "value": "Natan Nehorai", "type": "finder" }, { "lang": "en", "value": "JFrog Security Research", "type": "coordinator" } ], "source": { "discovery": "EXTERNAL" }, "x_generator": { "engine": "Vulnogram 1.0.5" } } } }