moby/go-archive: Crafted tar archive can write outside the extraction directory — GHSA-HFG8-HC9C-6C3H
GitHub · GitHub · GHSA-HFG8-HC9C-6C3H
ID
GHSA-HFG8-HC9C-6C3H
GHSA-HFG8-HC9C-6C3H
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
high
high
CVSS
7.1
7.1
Summary
### Summary 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. A crafted archive can create or overwrite files **outside** the intended destination. ### Details The extractor decides where each archive entry lands using lexical string checks and then performs the…
Timeline
- Published by source
- 2026-08-18
Risk context
- Reported severity or threat level: high.
- Reported CVSS score: 7.1 out of 10.
- Review exposure for the affected product or family: go: github.com/moby/go-archive.
Product
go: github.com/moby/go-archive
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-HFG8-HC9C-6C3H
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-08-18
- Last source activity
- 2026-08-18
- Additional identifiers
- CVE-2026-17106
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.