Vulnerability in github.com/moby/go-archive
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-17106 has been found in github.com/moby/go-archive.
Attackers can target a specific entry point like Unpack over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade github.com/moby/go-archive to 0.3.0 or later.
If unsure, ask your IT team or search "github.com/moby/go-archive CVE-2026-17106" on the vendor's site.
CVE-2026-17106 (github.com/moby/go-archive) — CWE-59
Attack surface: Unpack / UnpackLayer / Untar / UntarUncompressed
Patched: 0.3.0 — apply immediately
Workaround: Only extract trusted archives.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-59) exists in github.com/moby/go-archive. Attackers reach the vulnerable code path via Unpack.
Check the vendor advisory for the affected versions of github.com/moby/go-archive. Attack surface: Unpack / UnpackLayer / Untar / UntarUncompressed.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.3.0.
Workaround: Only extract trusted archives.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'github.com/moby/go-archive' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'github.com/moby/go-archive' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
github.com/moby/go-archiveを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply temporary workaroundmitigate
Only extract trusted archives.パッチが適用されるまでの応急処置として、Only extract trusted archives. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3
Apply patchpatch
Upgrade github.com/moby/go-archive to 0.3.0ステージング環境で 0.3.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| gogithub.com/moby/go-archive |
< 0.3.0→ 0.3.0 |
0.3.0 |
| Bitnamidocker-cli |
< 29.7.0→ 29.7.0 |
29.7.0 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-17106 golang-github-moby-go-archive Fix available
- Ubuntu UBUNTU-CVE-2026-17106 docker.io-app, docker.io No fixed version in this record
Original description The description as published by the source.
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.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory docs.docker.com
- advisory docs.docker.com
- advisory github.com
- advisory github.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- report github.com
- web github.com
- web github.com
- web github.com
- web imperva.com
- web github.com