CVSS 4.0
4.5 mediumCVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:HMedium (4.5) in moby buildkit. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:HExplain CVE-2026-121520 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-121520?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-121520?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-121520 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Moby BuildKit | before 0.34.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 26.04:LTS, 26.10, Pro:20.04:LTS and 2 more | docker.io, docker.io-app | no fix listed | UBUNTU-CVE-2026-121520 |
| Ubuntu | Pro:16.04:LTS, Pro:18.04:LTS | docker.io | no fix listed | UBUNTU-CVE-2026-121520 |
| Red Hat | hummingbird:1 | podman, podmansh, podman-docker and 2 more | 5:6.1.4-1.3.hum1 | RHSA-2026:95611 |
| Azure Linux | 3 | docker-buildx | no fix listed | AZL-112726 |
| Azure Linux | 3 | docker-compose | no fix listed | AZL-112729 |
| Azure Linux | 3 | moby-engine | no fix listed | AZL-112756 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat.
Red Hat rates this Important.
Red Hat has evaluated this vulnerability as Important because an attacker capable of dispatching build workloads can alter sensitive file metadata outside the working directory, enabling privilege escalation on the underlying host. The greatest impact occurs in multi-tenant environments, such as shared OpenShift build services where arbitrary or untrusted users are permitted to trigger container image builds. Systems where build execution is restricted to trusted operators or dedicated single-user workstations experience minimal exposure, as users typically already hold administrative control over their local environments.
Restrict access to the BuildKit control API socket and network endpoints to trusted administrative operators using strict file system permissions and mutual TLS. In multi-tenant environments, isolate build execution within dedicated, ephemeral virtual machines rather than sharing the daemon across untrusted tenants.
--- CME Mitigation Guidance (2026-11-04) ---
Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure.
The highest-value action is to confine all extended attribute modifications within BuildKit strictly to the internal state directory and prevent following symlinks outside the build boundary: upgrade to BuildKit v0.34.1 (or the corresponding fixed Red Hat builds), which restrict extended attribute modifications to the BuildKit state directory and prevent following links outside the build boundary, closing all 3 injection vectors (crafted build request submitting xattrs targeting paths outside the state directory, symbolic link traversal targeting host files for extended attribute modification, manipulation of security and trusted namespace extended attributes). Until patched, this is only a concern on Linux build hosts and multi-tenant build services accepting BuildKit control API requests — Non-Linux platforms are unaffected — so Restrict access to the BuildKit control API socket and network endpoints to trusted operators using strict permissions and mutual TLS, or isolate builds in dedicated ephemeral virtual machines. As a compensating measure, Log setxattr and lsetxattr syscalls targeting sensitive host directories and security namespaces using auditd, Enforce SELinux mandatory access controls to confine the BuildKit daemon from modifying host extended attributes outside its domain, Restrict the BuildKit process filesystem sandbox to explicitly allowed directory hierarchies using Landlock LSM, Use mount and user namespaces to isolate the daemon filesystem view from host extended attribute modifications, Run BuildKit in rootless mode to prevent setting privileged security and trusted namespace extended attributes on the host filesystem, and Drop CAP_SYS_ADMIN and CAP_SETFCAP from the BuildKit daemon to prevent setting sensitive extended attributes. These controls limit blast radius and contain exploitation, but they do not fix the underlying path traversal and symlink following defect — apply the upstream patch to fully remediate.
Highest-impact CME: CME-1301 Path Traversal Prevention (Canonicalization) (high)
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | podman-main-6.1.4-1.3.hum1 | Fixed 2026-11-05 | RHSA-2026:95611 |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | assisted/agent-preinstall-image-builder-rhel9 | Not affected | |
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai/assisted-installer-controller-rhel9 | Not affected | |
| Compliance Operator | compliance/openshift-compliance-must-gather-rhel8 | Not affected | |
| Confidential Compute Attestation | build-of-trustee/trustee-must-gather-rhel9 | Not affected | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-must-gather-rhel9 | Not affected | |
| Confidential Compute Attestation | openshift-sandboxed-containers/osc-podvm-builder-rhel9 | Not affected | |
| Custom Metric Autoscaler operator for Red Hat Openshift | custom-metrics-autoscaler/custom-metrics-autoscaler-rhel9-operator | Not affected | |
| DPU kit for NVIDIA | dpu-kit-for-nvidia/bluefield-ocp-layer-rhel10 | Affected | |
| DPU kit for NVIDIA | dpu-kit-for-nvidia/must-gather-rhel10 | Affected | |
| Kernel Module Management Operator for Red Hat Openshift | kmm/kernel-module-management-must-gather-rhel9 | Not affected | |
| Logical Volume Manager Storage | lvms4/lvms-must-gather-rhel8 | Not affected | |
| Logical Volume Manager Storage | lvms4/lvms-must-gather-rhel9 | Not affected | |
| Migration Toolkit for Applications 8 | mta/mta-cli-rhel9 | Not affected | |
| Migration Toolkit for Applications 8 | mta/mta-discovery-addon-rhel9 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-log-reader-rhel8 | Not affected | |
| Migration Toolkit for Containers | rhmtc/openshift-migration-must-gather-rhel8 | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-rhel8 | Not affected | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-must-gather-rhel9 | Not affected | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-installer-controller-rhel9 | Not affected | |
| 148 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-121520.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.