# CVE-2026-135124: Docker Engine race in docker cp lets a container write through read-only bind mounts

- **Severity:** MEDIUM 4.1
- **CVSS:** 4.1 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Active; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 6, 2026-11-28)
- **CWE:** CWE-367
- **Published:** 2026-11-25T14:57:34.761Z
- **Modified:** 2026-11-25T17:17:42.817Z

## Who should check

- Anyone running Docker Engine \< 29.10.1
- Anyone running Moby \< 2.0.0-beta.32

## Description

A race condition during docker cp mount setup in Docker Engine allows a malicious container to leave a read-only bind mount writable while an archive is extracted into the container. When copying files into a container, the daemon bind-mounts the container's volumes into a temporary view and applies the read-only flags afterwards, through a path inside the container's filesystem. A process in the container can change that path in between, so the flags are applied to a different mount and the intended bind mount stays writable for the duration of the copy.

## Affected and fixed versions

- Docker Engine: \< 29.10.1 (cvelist)
- Moby: \< 2.0.0-beta.32 (cvelist)

## Technologies

Docker

## Mitigation

- Upgrade Docker Engine to 29.10.1 or later.
- Upgrade Moby to 2.0.0-beta.32 or later.
- Vendor workaround: Do not copy files into running containers that run untrusted workloads. Stop the container before copying files into it. Use authorization plugins to restrict access to PUT /containers/{id}/archive.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-135124. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-135124.md
Affected: Docker Engine < 29.10.1; Moby < 2.0.0-beta.32
Fixed in: Docker Engine 29.10.1, Moby 2.0.0-beta.32

Steps:
1. Search this machine and project for Docker Engine, Moby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-135124 being exploited?

There is no confirmed exploitation: CVE-2026-135124 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-135124?

Medium: CVSS 4.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-135124?

Docker Engine \< 29.10.1; Moby \< 2.0.0-beta.32.

### Is there a fix for CVE-2026-135124?

Yes. Fixed in Docker Engine 29.10.1, Moby 2.0.0-beta.32. Upgrade Docker Engine to 29.10.1 or later. Upgrade Moby to 2.0.0-beta.32 or later. Vendor workaround: Do not copy files into running containers that run untrusted workloads. Stop the container before copying files into it. Use authorization plugins to restrict access to PUT /containers/{id}/archive.

### How do I check if I'm affected by CVE-2026-135124?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/moby/moby/security/advisories/GHSA-vfmq-r373-x89f>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-135124>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-135124> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-135124>
