CVE-2026-17106: Docker docker cp Container-to-Host Arbitrary File Write
A flaw in Docker's copy command lets a container force the host to write files to unintended locations.
Overview
A security flaw called CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-17106 allows attackers to write files to a computer host by abusing the docker cp command in Docker. This issue is not a direct escape from a containerA lightweight software package that runs an application isolated from other programs on the same host kernel but rather a trick that makes the host software write files to the wrong location. The problem occurs because the system creates an archive of files from the container and then extracts it on the host machine. An attacker can manipulate the file structure during this process to bypass the intended safety boundaries. This vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend affects anyone using Docker Engine or Docker Desktop who runs the copy command. Users of Docker Engine 29.7.2 and Docker Desktop 4.86.0 have the final fixes for this specific issue.
Terms in this story
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- Container
- A lightweight software package that runs an application isolated from other programs on the same host kernel. Cloud teams package web services inside containers so they start in seconds, and security stories warn about container escape bugs that let an attacker break out onto the host server.
- vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- symlink
- A special file on disk that points to another file or folder path by name. Local privilege escalation exploits often plant a symlink in a temporary folder so a high-privilege system service is tricked into overwriting a protected system file.
- kernel
- The core part of an operating system that manages memory, hardware, and every running program. Because the kernel has complete control over the computer, a kernel vulnerability or malicious kernel driver lets an attacker bypass security software that runs at the normal program level.
- pipeline
- The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
- CLI
- A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
- privileges
- The level of authority an account or process has to change settings, read files, or run commands. Ordinary user accounts run with limited privileges so a single mistake cannot break the operating system, whereas administrator privileges allow installing drivers and viewing all files.
- root
- The highest administrator permission level on a system, with unrestricted control over all files and programs. An attacker who gains root privileges on a server can read any user's data, alter system settings, install kernel drivers, and hide their activity from ordinary accounts.
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- disclosure
- The process of reporting and publishing details about a newly discovered security flaw in software or hardware. In security news, disclosure refers either to a researcher privately alerting a vendor about a bug or to a company publicly notifying customers about a breach.
- Sandboxes
- An isolated test environment where a program can run without touching the rest of the computer. Web browsers run each tab inside a sandbox so a malicious page cannot read your personal files, and analysts detonate suspicious attachments in a sandbox to watch what they do. Security+ objective 4.1 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The CyberSec Guru website. Cite the article, not this page.
Read the full article on The CyberSec Guru (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Vulnerability and patch
"...container-to-host arbitrary file-write vulnerability..." Found by reading the article; these exact words are in it - Who is affected: "Docker CLI, running on the host..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"CVE-2026-17106: Docker docker cp Container-to-Host Arbitrary File..." Found in the headline - Security+ 3.1 Compare and contrast security implications of different architecture models.
"CVE-2026-17106: Docker docker cp Container-to-Host Arbitrary File Write..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"CVE-2026-17106: Docker docker cp Container-to-Host Arbitrary File..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"CVE-2026-17106: Docker docker cp Container-to-Host Arbitrary File..." Found in the headline
How a story is connected to the course, and every objective, week and job role