Path traversal in github.com/artdarek/go-unzip
Priority HIGH 72CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01333 71st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/artdarek/go-unzip (github.com/artdarek/go-unzip): 1.0.0github.com/artdarek/go-unzip (Go): 2.0.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| github.com/artdarek/go-unzip | github.com/artdarek/go-unzip | before 1.0.0 | 1.0.0 | Patch available | CNA |
| — | github.com/artdarek/go-unzip (Go) | before 2.0.0 | 2.0.0 | Patch available | GHSA-rmj9-q58g-9qgg |
- github.com/artdarek/go-unzip Vendorgithub.com/artdarek/go-unzip Affected before 1.0.0 Fixed in 1.0.0 Patch available CNA
- github.com/artdarek/go-unzip (Go) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-rmj9-q58g-9qgg
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:go-unzip_project:go-unzip:*:*:*:*:*:go:*:* | before 1.0.0 | Vulnerable | Go-unzip Project |
- cpe:2.3:a:go-unzip_project:go-unzip:*:*:*:*:*:go:*:* Versions before 1.0.0 Vulnerable ·Go-unzip Project
Remediation
- Fix · CNA github.com/artdarek/go-unzip (github.com/artdarek/go-unzip) Fixed in 1.0.0
- Fix · GHSA-rmj9-q58g-9qgg github.com/artdarek/go-unzip (Go) Fixed in 2.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-36560
- 2026-10-03 Alias added: GHSA-rmj9-q58g-9qgg
References
Sources
- CVE-2020-36560 · CVE Program
- CVE-2020-36560 · NVD
- FIRST EPSS
- GHSA-rmj9-q58g-9qgg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences