{"api_version":"1","generated_at":"2026-08-19T11:45:16+00:00","cve":"CVE-2026-17106","urls":{"html":"https://cve.report/CVE-2026-17106","api":"https://cve.report/api/cve/CVE-2026-17106.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-17106","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-17106"},"summary":{"title":"Tar extraction in moby/go-archive can write outside the destination directory via link following","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.","state":"PUBLISHED","assigner":"Docker","published_at":"2026-08-18 19:16:45","updated_at":"2026-08-19 04:16:57"},"problem_types":["CWE-59","CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')"],"metrics":[{"version":"4.0","source":"security@docker.com","type":"Secondary","score":"7.1","severity":"HIGH","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","data":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"7.1","severity":"HIGH","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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://github.com/moby/go-archive/releases/tag/v0.3.0","name":"https://github.com/moby/go-archive/releases/tag/v0.3.0","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.docker.com/desktop/release-notes/#4860","name":"https://docs.docker.com/desktop/release-notes/#4860","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/masasron/CopyEscape-CVE-2026-17106","name":"https://github.com/masasron/CopyEscape-CVE-2026-17106","refsource":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/docker/sbx-releases/releases/tag/v0.38.0","name":"https://github.com/docker/sbx-releases/releases/tag/v0.38.0","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h","name":"https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://docs.docker.com/engine/release-notes/29/#2970","name":"https://docs.docker.com/engine/release-notes/29/#2970","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/docker/compose/releases/tag/v5.4.0","name":"https://github.com/docker/compose/releases/tag/v5.4.0","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/docker/cli/releases/tag/v29.7.0","name":"https://github.com/docker/cli/releases/tag/v29.7.0","refsource":"security@docker.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-17106","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-17106","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"moby","product":"go-archive","version":"affected 0.3.0 semver","platforms":[]},{"source":"CNA","vendor":"Docker","product":"Docker Sandboxes","version":"affected 0.38.0 semver","platforms":["MacOS","Linux","Windows"]},{"source":"CNA","vendor":"Docker","product":"Docker Desktop","version":"affected 4.86.0 semver","platforms":["MacOS","Linux","Windows"]},{"source":"CNA","vendor":"Docker","product":"Docker Engine","version":"affected 29.7.0 semver","platforms":["MacOS","Linux","Windows"]},{"source":"CNA","vendor":"Docker","product":"Docker CLI","version":"affected 29.7.0 semver","platforms":["MacOS","Linux","Windows"]},{"source":"CNA","vendor":"Docker","product":"Docker Compose","version":"affected 5.4.0 semver","platforms":["MacOS","Linux","Windows"]}],"timeline":[],"solutions":[],"workarounds":[{"source":"CNA","title":"","value":"Only extract trusted archives.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"Ron Masas (Imperva) and other independent reports","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-17106","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","timestamp":"2026-08-18T00:00:00+00:00","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-08-19T03:56:16.526Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"references":[{"tags":["exploit"],"url":"https://github.com/masasron/CopyEscape-CVE-2026-17106"}],"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"defaultStatus":"unaffected","packageName":"github.com/moby/go-archive","product":"go-archive","vendor":"moby","versions":[{"lessThan":"0.3.0","status":"affected","version":"0","versionType":"semver"}]},{"cpes":["cpe:2.3:a:docker:docker_sandboxes:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","platforms":["MacOS","Linux","Windows"],"product":"Docker Sandboxes","vendor":"Docker","versions":[{"lessThan":"0.38.0","status":"affected","version":"0","versionType":"semver"}]},{"cpes":["cpe:2.3:a:docker:desktop:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","platforms":["MacOS","Linux","Windows"],"product":"Docker Desktop","vendor":"Docker","versions":[{"lessThan":"4.86.0","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","platforms":["MacOS","Linux","Windows"],"product":"Docker Engine","vendor":"Docker","versions":[{"lessThan":"29.7.0","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","platforms":["MacOS","Linux","Windows"],"product":"Docker CLI","vendor":"Docker","versions":[{"lessThan":"29.7.0","status":"affected","version":"0","versionType":"semver"}]},{"defaultStatus":"unaffected","platforms":["MacOS","Linux","Windows"],"product":"Docker Compose","vendor":"Docker","versions":[{"lessThan":"5.4.0","status":"affected","version":"0","versionType":"semver"}]}],"credits":[{"lang":"en","type":"finder","value":"Ron Masas (Imperva) and other independent reports"}],"descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"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."}],"value":"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."}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":7.1,"baseSeverity":"HIGH","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-08-18T18:35:13.465Z","orgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","shortName":"Docker"},"references":[{"tags":["vendor-advisory"],"url":"https://github.com/moby/go-archive/security/advisories/GHSA-hfg8-hc9c-6c3h"},{"tags":["release-notes"],"url":"https://docs.docker.com/desktop/release-notes/#4860"},{"tags":["release-notes"],"url":"https://github.com/docker/sbx-releases/releases/tag/v0.38.0"},{"tags":["release-notes"],"url":"https://docs.docker.com/engine/release-notes/29/#2970"},{"tags":["release-notes"],"url":"https://github.com/docker/cli/releases/tag/v29.7.0"},{"tags":["release-notes"],"url":"https://github.com/docker/compose/releases/tag/v5.4.0"},{"tags":["patch"],"url":"https://github.com/moby/go-archive/releases/tag/v0.3.0"}],"source":{"discovery":"EXTERNAL"},"title":"Tar extraction in moby/go-archive can write outside the destination directory via link following","workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Only extract trusted archives."}],"value":"Only extract trusted archives."}]}},"cveMetadata":{"assignerOrgId":"686469e6-3ff6-451b-ab8b-cf5b9e89401e","assignerShortName":"Docker","cveId":"CVE-2026-17106","datePublished":"2026-08-18T18:35:13.465Z","dateReserved":"2026-07-24T15:24:25.317Z","dateUpdated":"2026-08-19T03:56:16.526Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-18 19:16:45","lastModifiedDate":"2026-08-19 04:16:57","problem_types":["CWE-59","CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')"],"metrics":{"cvssMetricV40":[{"source":"security@docker.com","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","baseScore":7.1,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-08-18T00:00:00+00:00","id":"CVE-2026-17106","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"17106","Ordinal":"1","Title":"Tar extraction in moby/go-archive can write outside the destinat","CVE":"CVE-2026-17106","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"17106","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Tar extraction in moby/go-archive can write outside the destinat"}]}}}