Path traversal in Go standard library archiver
Priority LOW 30CWE-22Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
Summary
mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Why it matters now
EPSS 0.0253 85th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed archiver (golang): e4ef56d48eb029648b0e895bb0b6a393ef0829c3github.com/mholt/archiver (Go): 2.1.0
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Go standard library | archiver | before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 | e4ef56d48eb029648b0e895bb0b6a393ef0829c3 | Patch available | CNA |
| — | github.com/mholt/archiver (Go) | before 2.1.0 | 2.1.0 | Patch available | GHSA-5wmg-j84w-4jj4 |
- archiver VendorGo standard library Affected before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 Fixed in e4ef56d48eb029648b0e895bb0b6a393ef0829c3 Patch available CNA
- github.com/mholt/archiver (Go) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-5wmg-j84w-4jj4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:archiver_project:archiver:*:*:*:*:*:*:*:* | up to 2.0 | Vulnerable | Archiver Project |
- cpe:2.3:a:archiver_project:archiver:*:*:*:*:*:*:*:* Versions up to 2.0 Vulnerable ·Archiver Project
Remediation
- Fix · CNA archiver (golang) Fixed in e4ef56d48eb029648b0e895bb0b6a393ef0829c3
- Fix · GHSA-5wmg-j84w-4jj4 github.com/mholt/archiver (Go) Fixed in 2.1.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1002207
- 2026-10-03 Alias added: GHSA-5wmg-j84w-4jj4
References
More Go standard library vulnerabilities
- TI-2020-00578 Improper certificate validation in Microsoft Windows KEVCVSS 3.1HIGH 8.1
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2023-24278 HTTP/2 CONTINUATION flood in net/http CVSS 3.1HIGH 7.5
- TI-2018-05208 The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used… CVSS 3.1HIGH 8.8
- TI-2024-16309 Panic when parsing invalid palette-color images in golang.org/x/image CVSS 3.1HIGH 7.5
- TI-2022-20112 Request smuggling due to improper request handling in golang.org/x/net/http2/h2c CVSS 3.1HIGH 7.5
Sources
- CVE-2018-1002207 · CVE Program
- CVE-2018-1002207 · NVD
- FIRST EPSS
- GHSA-5wmg-j84w-4jj4 · 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