{"answers":{"affected":"4 open source packages ship an affected version, including docker-cli and github.com/moby/go-archive.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-17106 exists.","fix":"Upgrade docker-cli to 29.7.0 or later.","what":"CVE-2026-17106 is a high-severity path traversal vulnerability in Docker CLI, published on 18 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-17106 and fix it if it is affected.\n\nWhat it is: CVE-2026-17106 is a high-severity path traversal vulnerability in Docker CLI, published on 18 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-17106 exists.\n\nAffected packages and fixed versions:\n- docker-cli (Bitnami): affected all versions; fixed in 29.7.0\n- github.com/moby/go-archive (Go): affected all versions; fixed in 0.3.0\n- github.com/moby/go-archive (Go): affected all versions; fixed in 0.3.0\n- github.com/moby/go-archive (Go): affected all versions; fixed in 0.3.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-17106/ (Markdown: https://insights.sbomify.com/CVE-2026-17106/index.md)","id":"CVE-2026-17106","markdown":"https://insights.sbomify.com/CVE-2026-17106/index.md","name":"CVE-2026-17106","record":{"aliases":["AZL-97004","AZL-97007","BELL-CVE-2026-17106","BIT-docker-cli-2026-17106","CLEANSTART-2026-GV65273","CLEANSTART-2026-MN51569","DEBIAN-CVE-2026-17106","ECHO-7ce4-b04c-827e","GHSA-hfg8-hc9c-6c3h","GO-2026-6253","MINI-23h5-wrf9-pq2f","MINI-27j5-q8pp-qhgc","MINI-2cq6-gwhv-x9fp","MINI-2fx6-r4gg-37c8","MINI-34qx-5j8w-chhp","MINI-3fgg-hm8f-gj56","MINI-49q6-78xj-6g4v","MINI-4q2x-5v24-9wc2","MINI-7cjg-3qc9-qhhh","MINI-865x-qfj3-pf97","MINI-8vg8-j8x5-pm2f","MINI-9344-h28r-m5xp","MINI-9rrc-pjf5-39rg","MINI-cwv7-57r5-wghf","MINI-f2x2-7hxq-p557","MINI-f7xg-mw33-jvwx","MINI-gfgm-r3rm-5q7j","MINI-h4w5-67wv-vvpg","MINI-hp49-j8x6-hmwg","MINI-hr73-3xjg-f4r3","MINI-j562-rjg9-cghg","MINI-j7gx-5pv8-h53w","MINI-jvp2-fqm7-rfrf","MINI-mfw8-rmw4-5x6m","MINI-p3wv-4838-x3xw","MINI-ppvc-59j6-fc42","MINI-r69m-g2mg-8vj4","MINI-rhj5-7mwq-7g9p","MINI-v862-c9rm-rv9m","MINI-vm6g-2hjg-wm9x","MINI-w37f-rgqp-qmmp","MINI-w3g3-j2rf-px7v","MINI-wcrv-7mm3-mf27","MINI-wgpv-mh2g-xm85","MINI-xgh2-g788-qhf2","MINI-xmj5-6gh9-mgh2","OESA-2026-3526","ROOT-APP-GOBINARY-CVE-2026-17106","SUSE-SU-2026:3863-1","UBUNTU-CVE-2026-17106","openSUSE-SU-2026:11544-1","openSUSE-SU-2026:21611-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_modify","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Docker tar extraction","requires_auth":"none","summary":"Attackers can write files outside the destination directory via malicious tar archives, potentially leading to arbitrary file overwrite or code execution in Docker environments.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Docker","cpe":[],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"The tar extraction routines in moby/go-archive (Unpack, UnpackLayer, Untar/UntarUncompressed, and the ApplyLayer helpers) do not confine filesystem operations to the destination directory. The extractor decides where each archive entry lands using lexical string checks and then performs the filesystem operation on a path that is resolved by the OS, so links introduced by the archive can be followed out of the destination directory. An attacker who controls the contents of an archive can create or overwrite files at arbitrary paths writable by the extracting process.","ecosystems":["Bitnami","Go","SUSE:Linux Enterprise Module for HPC 15 SP7","SUSE:Linux Enterprise Module for Package Hub 15 SP7","SUSE:Linux Enterprise Server 15 SP6-LTSS","openSUSE:Leap 16.0","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2026-08-09","github_poc":4,"max_poc_stars":22,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-08-09T21:02:40Z","kind":"github_poc","ref":"https://github.com/masasron/CopyEscape-CVE-2026-17106","stars":22,"title":"PoC repository for the blog post CopyEscape: Taking Over Docker Hosts with docker cp"},{"date":"2026-08-11T11:34:39Z","kind":"github_poc","ref":"https://github.com/HackSpeak/CVE-2026-17106","stars":1,"title":"CopyEscape (CVE-2026-17106) docker cp container-to-host arbitrary file write PoC mirror — Imperva Ron Masas, MIT; for authorized security testing"},{"date":"2026-08-12T16:41:52Z","kind":"github_poc","ref":"https://github.com/686f6c61/POC-CopyEscape-CVE-2026-17106","stars":1,"title":"PoC funcional de CVE-2026-17106 (CopyEscape): carrera TOCTOU en docker cp que permite escritura arbitraria en el host Docker. Laboratorio Docker + monitor inotify + LD_PRELOAD. Variante macOS inocua y Linux destructiva."},{"date":"2026-10-23T23:49:09Z","kind":"github_poc","ref":"https://github.com/CompleteTech-Security/copyescape-check","stars":0,"title":"Offline Docker CopyEscape evidence checker for CVE-2026-17106. Docker version and build-configuration evidence. Standalone Python; JSON/CSV/HTML reports; no exploit payloads."}],"tier":"weaponised"},"has_fix":true,"headline":"Tar extraction in moby/go-archive can write outside the destination directory via link following","id":"CVE-2026-17106","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":9,"n_references":7,"next":{"headline":"Cluster-proxy: impersonation-header injection grants cluster-admin on every managed cluster","id":"CVE-2026-17107"},"packages":[{"ecosystem":"Bitnami","fixed":["29.7.0"],"introduced":["0"],"last_affected":[],"package":"docker-cli","purl":"pkg:bitnami/docker-cli","source":"BIT-docker-cli-2026-17106"},{"ecosystem":"Go","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/go-archive","purl":null,"source":"GHSA-hfg8-hc9c-6c3h"},{"ecosystem":"Go","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/go-archive","purl":"pkg:golang/github.com/moby/go-archive","source":"GHSA-hfg8-hc9c-6c3h"},{"ecosystem":"Go","fixed":["0.3.0"],"introduced":["0"],"last_affected":[],"package":"github.com/moby/go-archive","purl":"pkg:golang/github.com/moby/go-archive","source":"GO-2026-6253"},{"ecosystem":"SUSE:Linux Enterprise Module for HPC 15 SP7","fixed":["1.5.3-150600.4.37.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/suse/apptainer\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20HPC%2015%20SP7","source":"SUSE-SU-2026:3863-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP7","fixed":["1.5.3-150600.4.37.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/suse/apptainer\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP7","source":"SUSE-SU-2026:3863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP6-LTSS","fixed":["1.5.3-150600.4.37.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/suse/apptainer\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP6-LTSS","source":"SUSE-SU-2026:3863-1"},{"ecosystem":"openSUSE:Leap 16.0","fixed":["1.5.3-bp160.2.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/opensuse/apptainer\u0026distro=openSUSE%20Leap%2016.0","source":"openSUSE-SU-2026:21611-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.5.3-2.1"],"introduced":["0"],"last_affected":[],"package":"apptainer","purl":"pkg:rpm/opensuse/apptainer\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:11544-1"}],"prev":{"headline":"DataStage on Cloud Pak for Data has several vulnerabilities","id":"CVE-2026-17102"},"products":["Docker CLI","Docker Compose","Docker Desktop","Docker Engine","Docker Sandboxes","go-archive"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["Docker","moby"]},"summary":"Attackers can write files outside the destination directory via malicious tar archives, potentially leading to arbitrary file overwrite or code execution in Docker environments.","url":"https://insights.sbomify.com/CVE-2026-17106/"}