Database/Container, Kubernetes & orchestration
BuildKit: crafted upload request writes files outside the daemon-controlled state directory
Impact
A client that can reach the BuildKit control API can craft an upload request whose files land outside the BuildKit state directory, writing to arbitrary paths the daemon can reach. On a shared build node this is a write primitive against whatever else the daemon user owns — other tenants' build state, cached layers, or files on mounted host paths — which puts image integrity at stake for everything built on that node. GPU fleets commonly run a small pool of shared builders producing the CUDA and inference images the rest of the cluster pulls, so a poisoned artifact propagates far beyond the build host. The CVSS vector rates integrity and availability high with no confidentiality loss.
Who can reach it
Anyone able to issue builds against the BuildKit control API — the advisory notes the client needs valid permission to reach that API, so this is authenticated (or reachable wherever authentication is bypassed or the socket is exposed unauthenticated).
What to do
Upgrade BuildKit to 0.31.2 and restart the buildkitd daemon or the builder pods; in-flight builds are lost but no host reboot is required. Until then, confirm which principals can reach the control API or the buildkitd socket and narrow that set — the flaw needs API access, so restricting the socket is a real mitigation.
References
Related entries
- Cilium (VLAN interface datapath, TCX attachment): Ingress host policies and L7 network policies silently stop beingNCVD-2026-047-cilium-vlan-interface-datapath-t · Cilium (VLAN interface datapath, TCX attachment)High
- Argo Workflows (Argo Server, HTML artifact serving): A workflow can emit an HTML artifact containing script that, whenCVE-2022-29164 · Argo Workflows (Argo Server, HTML artifact serving)High
- Podman: Incorrect supplementary group handlingCVE-2022-2989 · PodmanHigh
- CRI-O: Incorrect supplementary group handling leads to information disclosure between workloadsCVE-2022-2995 · CRI-OHigh
- cosign / sigstore: `cosign verify-attestation --type` returns a false positive if any attestation existsCVE-2022-35929 · cosign / sigstoreHigh
- Rancher: Insufficient entropy means a leaked cattle-token stays usable after rotationCVE-2022-43755 · RancherHigh
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.