Skip to content
Fencer Vulns
high 7.2

CVE-2026-42306 json

Moby: Race condition in docker cp allows bind mount redirection to host path

published 2026-05-18 5 mo ago modified 2026-09-10 59 d ago also EUVD-2026-36528 , GHSA-rg2x-37c3-w2rh , GO-2026-5617

cvss
7.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 1%
public exploits
0
none known

Summary

Moby is an open source container framework. In Docker Engine prior to version 29.5.1, Docker Daemon versions 28.5.2 and prior, and Moby Daemon prior to version 2.0.0-beta.14, a race condition during docker cp mount setup allows a malicious container to redirect a bind mount target to an arbitrary host path, potentially overwriting host files or causing denial of service. This issue has been patched in Docker Engine version 29.5.1 and Moby Daemon version 2.0.0-beta.14.

Patch / fix

  • go github.com/moby/moby/v2 2.0.0-beta.14
  • mobyproject moby 2.0.0-beta.14
  • mobyproject moby/v2 2.0.0-beta.14
  • docker engine 29.5.1
  • docker.io Debian 13 26.1.5+dfsg1-9+deb13u1
  • docker.io Debian 14 28.5.2+dfsg4-3

debian advisories DEBIAN-CVE-2026-42306

  • flightctl edge manager 1.1 1.1.4-1.el10em
  • flightctl edge manager 1.1 1.1.4-1.el9em
  • flightctl-cli edge manager 1.1 1.1.4-1.el10em
  • flightctl-cli edge manager 1.1 1.1.4-1.el9em
  • flightctl-agent edge manager 1.1 1.1.4-1.el10em
  • flightctl-agent edge manager 1.1 1.1.4-1.el9em

red hat advisories RHSA-2026:68334

  • govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260727T201416-160000.1.1

suse advisories SUSE-SU-2026:23216-1SUSE-SU-2026:23227-1

  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260727T201416-160000.1.1
  • govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1

opensuse advisories openSUSE-SU-2026:21551-1openSUSE-SU-2026:21483-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-42306 updated cvss 7.2

github.com/docker/docker: github.com/moby/moby: Moby container framework: Host file overwrite via race condition in docker cp mount setup

  • Red Hat Assisted Installer for Red Hat OpenShift Container Platform 2 rhai/assisted-installer-rhel9, rhai/assisted-installer-agent-rhel9, rhai/assisted-installer-controller-rhel9, assisted/agent-preinstall-image-builder-rhel9
    affected: workaround, no fix available
  • Red Hat Confidential Compute Attestation openshift-sandboxed-containers/osc-rhel9-operator, openshift-sandboxed-containers/osc-must-gather-rhel9, openshift-sandboxed-containers/osc-podvm-payload-rhel9, openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Kernel Module Management Operator for Red Hat Openshift kmm/kernel-module-management-must-gather-rhel9 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/logging-loki-rhel9, openshift-logging/cluster-logging-rhel9-operator Red Hat Logical Volume Manager Storage lvms4/lvms-must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Machine Deletion Remediation Operator workload-availability/machine-deletion-remediation-rhel9-operator, workload-availability/machine-deletion-remediation-operator-bundle
    affected: workaround, no fix available
  • Red Hat Migration Toolkit for Containers rhmtc/openshift-migration-controller-rhel8 Red Hat Migration Toolkit for Virtualization mtv-candidate/mtv-must-gather-rhel8, migration-toolkit-virtualization/mtv-must-gather-rhel9 Red Hat Multiarch Tuning Operator multiarch-tuning/multiarch-tuning-rhel9-operator, multiarch-tuning/multiarch-tuning-operator-bundle
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Multicluster Engine for Kubernetes multicluster-engine/assisted-installer-rhel8, multicluster-engine/assisted-installer-rhel9, multicluster-engine/assisted-service-8-rhel8, multicluster-engine/assisted-service-9-rhel9, multicluster-engine/assisted-installer-agent-rhel8, multicluster-engine/assisted-installer-agent-rhel9, +3 more Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift API for Data Protection oadp/oadp-velero-plugin-rhel9
    affected: workaround, no fix available
  • Red Hat OpenShift Developer Tools and Services ocp-tools-4/jenkins-agent-base-rhel8 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-rhel9-operator
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift Serverless openshift-serverless-1/kn-client-kn-rhel9, openshift-serverless-1/logic-rhel9-operator, openshift-serverless-1/kn-serving-controller-rhel9, openshift-serverless-1/kn-plugin-event-sender-rhel9, openshift-serverless-1/serverless-must-gather-rhel9, openshift-serverless-1/kn-plugin-func-func-util-rhel9
    affected: workaround, no fix available
show 9 more
  • Red Hat OpenShift Service Mesh 2 openshift-service-mesh/pilot-rhel8, openshift-service-mesh/proxyv2-rhel9, openshift-service-mesh/istio-cni-rhel8, openshift-service-mesh/istio-rhel8-operator, openshift-service-mesh/istio-must-gather-rhel9 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/istio-rhel9-operator, openshift-service-mesh/istio-must-gather-rhel9
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Power monitoring for Red Hat OpenShift openshift-power-monitoring/power-monitoring-rhel9-operator
    affected: workaround, no fix available
  • Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-scanner-rhel8, advanced-cluster-security/rhacs-scanner-slim-rhel8
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Ansible Automation Platform 2 ansible-automation-platform-25/aap-must-gather-rhel8, ansible-automation-platform-27/ansible-devspaces-rhel9
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Build of Kueue kueue/kueue-must-gather-rhel9 Red Hat Ceph Storage 5 rhceph/rhceph-5-dashboard-rhel8 Red Hat Ceph Storage 6 rhceph/rhceph-promtail-rhel9 Red Hat Ceph Storage 7 rhceph/grafana-rhel9, rhceph/rhceph-promtail-rhel9 Red Hat Ceph Storage 8 rhceph/grafana-rhel9, rhceph/rhceph-promtail-rhel9 Red Hat Ceph Storage 9 rhceph/alloy-rhel10, rhceph/grafana-rhel10
    affected: workaround, no fix available “Fix deferred”
  • Red Hat OpenShift AI (RHOAI) rhoai/odh-mod-arch-model-registry-rhel9, rhoai/odh-pipeline-runtime-minimal-cpu-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-cuda-py312-rhel9, rhoai/odh-pipeline-runtime-pytorch-rocm-py312-rhel9, rhoai/odh-workbench-jupyter-minimal-cpu-py312-rhel9, rhoai/odh-data-science-pipelines-argo-argoexec-rhel9, +15 more Red Hat OpenShift Container Platform 4 openshift-kni/commatrix, openshift4/cnf-tests-rhel8, openshift4/cnf-tests-rhel9, openshift4/ose-operator-sdk-rhel8, openshift4/ose-operator-sdk-rhel9, openshift4/ztp-site-generate-rhel8, +6 more Red Hat OpenShift Container Platform 5 openshift5/cnf-tests-rhel9, openshift5/network-tools-rhel9, openshift5/ose-operator-framework-tools-rhel9, openshift5/ose-operator-lifecycle-manager-rhel9, openshift5/ose-secrets-store-csi-mustgather-rhel9
    affected: workaround, no fix available, no fix planned “Will not fix”
  • Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9, odf4/odf-must-gather-rhel9, odf4/odf-cloudnative-pg-rhel9-operator Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/must-gather-rhel8, openshift-gitops-1/must-gather-rhel9 Red Hat OpenShift Virtualization 4 container-native-virtualization/virt-cdi-importer, container-native-virtualization/cnv-must-gather-rhel8, container-native-virtualization/cnv-must-gather-rhel9, container-native-virtualization/virt-cdi-uploadserver, container-native-virtualization/virt-cdi-importer-rhel9, container-native-virtualization/virt-cdi-uploadserver-rhel9 Red Hat OpenStack Platform 16.2 rhosp-rhel8/osp-director-operator-bundle Red Hat OpenStack Platform 17.1 rhosp-rhel9/osp-director-operator-bundle Red Hat OpenStack Platform 18.0 rhoso-operators/openstack-operator-bundle, rhoso-operators/rabbitmq-cluster-rhel9-operator, rhoso-operators/prometheus-podman-exporter-rhel9
    +3 more products
    Red Hat Quay 3 quay/quay-builder-rhel8, quay/quay-builder-rhel9 Red Hat Zero Trust Workload Identity Manager zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9, zero-trust-workload-identity-manager/spiffe-spire-server-rhel9, zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9 Red Hat Zero Trust Workload Identity Manager - Tech Preview zero-trust-workload-identity-manager/spiffe-spire-agent-rhel9, zero-trust-workload-identity-manager/spiffe-spire-server-rhel9, zero-trust-workload-identity-manager/spiffe-spire-oidc-discovery-provider-rhel9, zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-rhel9, zero-trust-workload-identity-manager/zero-trust-workload-identity-manager-operator-bundle
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Multicluster Global Hub 1.4.9 multicluster-globalhub/multicluster-globalhub-grafana-rhel9 1786621960
    fixed: vendor fix RHSA-2026:55810
  • Red Hat Multicluster Global Hub 1.5.8 multicluster-globalhub/multicluster-globalhub-grafana-rhel9 1786621682
    fixed: vendor fix RHSA-2026:54577

8 more fixed, 28 more not affected in the full advisory

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
4 mo ago

Exploit prediction

0.10% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
GitHub 3.1 7.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H
NVD 3.1 7.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:H/A:H

Affected packages

ecosystem package affected fixed in
go github.com/docker/docker
<=28.5.2
all versions
no fix listed
go github.com/moby/moby/v2
<2.0.0-beta.14
2.0.0-beta.14
go github.com/moby/moby
<=28.5.2
all versions
no fix listed

Affected products

  • moby moby

Classification

Weakness
  • CWE-61 UNIX Symbolic Link (Symlink) Following
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of moby/moby published their own advisory on GitHub. Reviewed sources take precedence over it.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.