CVE-2026-135124
Received Received - Intake

Race Condition in Docker Engine Allows Writable Mounts

Vulnerability report for CVE-2026-135124, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-25

Last updated on: 2026-11-25

Assigner: Docker Inc.

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-25
Last Modified
2026-11-25
Generated
2026-11-25
AI Q&A
2026-11-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Docker Docker Engine From 0 (inc) to 29.10.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a race condition in Docker's `docker cp` command. When copying files into a container, Docker temporarily bind-mounts the container's volumes into a temporary view before applying read-only flags. A malicious process inside the container can modify the mount path during this setup, leaving the intended bind mount writable while files are copied. This allows the container to write to directories that should be read-only.

Detection Guidance

Detecting this vulnerability requires checking for Docker Engine versions affected by the race condition in docker cp. Inspect your Docker version using 'docker version' or 'docker info'. Compare it against the patched versions listed in Docker's advisory. Monitor container logs for unusual file modifications during docker cp operations, especially in containers with read-only bind mounts.

Impact Analysis

If exploited, this vulnerability could allow an attacker in a container to overwrite or create files in host directories that are mounted as read-only to the container. This could lead to unauthorized file modifications on the host system, potentially causing data corruption or enabling further attacks. The impact is limited to containers with read-only bind mounts and requires the attacker to have access to such a container.

Compliance Impact

This vulnerability could impact compliance by allowing unauthorized modifications to sensitive data, which may violate integrity requirements in standards like GDPR or HIPAA. If exploited, it could lead to unauthorized data changes, potentially compromising data integrity and confidentiality. Organizations should mitigate this risk to maintain compliance with data protection regulations.

Mitigation Strategies

Stop all containers before using docker cp. Avoid copying files into untrusted containers. Restrict access to the vulnerable API endpoint using authorization plugins. Update Docker Engine to the latest patched version immediately. If updates are not possible, implement strict access controls for docker cp and the archive API endpoint.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-135124. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...