Skip to content
NewA calmer, faster ZeroHour

CopyEscape Docker Flaw Lets Malicious Containers Overwrite Host Files and Gain Root Access

Cyber Security Newsby Abinaya ()3 min read16 · 10 reads
AI summary · grok-4.7Summaries by Vani AI

CopyEscape, CVE-2026-17106, lets malicious containers overwrite host files through Docker's archive copy path.

Imperva disclosed CopyEscape, CVE-2026-17106, in Docker's moby/go-archive handling used by docker cp. A time-of-check/time-of-use race lets a running container turn a directory into a symlink while the archive is built, and vulnerable extraction can then write outside the chosen host destination with the Docker CLI user's permissions. Imperva's proof of concept replaced /usr/bin/runc so a later runtime invocation executed an attacker script as root. Docker fixed Desktop in 4.86.0 on August 10, 2026, go-archive in 0.3.0, and Sandboxes in 0.38.0; active exploitation is not reported.

Key facts
  • CVE-2026-17106, CopyEscape, abuses archive extraction during docker cp.
  • A container race plants a symlink so later entries write outside the destination.
  • Imperva's proof of concept replaced /usr/bin/runc and then ran as root.
  • Docker Desktop 4.86.0 and moby/go-archive 0.3.0 contain the fix.
  • Docker Sandboxes sbx cp was affected until version 0.38.0.
Analyze CVE-2026-17106 with Vani AIImpact, affected versions, exploitation, mitigations and detection

Vulnerabilities mentioned

All
CVEVulnerabilityCVSSEPSSSignalsPublished
CVE-2026-17106
Path Traversal via Link Following in Moby go-archive Tar Extraction
7.1<1%

From the original article

3 min read at cybersecuritynews.com

A Docker flaw, CVE-2026-17106 (dubbed CopyEscape), lets malicious containers write files outside the docker cp destination, potentially enabling code execution and root-level compromise. The issue affects Docker’s archive extraction handling in moby/go-archive. When users copy files from a container to a host, Docker does not perform a simple direct transfer.

Cyber Security News

By Abinaya · cybersecuritynews.com

Read the full article at Cyber Security News

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.