All CVEs / github.com/mholt/archiver/v3
CVE-2025-3445github.com/mholt/archiver/v3
High 8.1 No auth needed
Follow: this CVE · github.com/mholt/archiver/v3 · github.com/mholt/archiver/v3 We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- No
- Published
- Apr 13, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
What happens
A Path Traversal "Zip Slip" vulnerability has been identified in mholt/archiver in Go. This vulnerability allows using a crafted ZIP file containing path traversal symlinks to create or overwrite files with the user's privileges or application utilizing the library.
When using the archiver.Unarchive functionality with ZIP files, like this: archiver.Unarchive(zipFile, outputDir), A crafted ZIP file can be extracted in such a way that it writes files to the affected system with the same privileges as the application executing this vulnerable functionality. Consequently, sensitive files may be overwritten, potentially leading to privilege escalation, code execution, and other severe outcomes in some cases.
It's worth noting that a similar vulnerability was found in TAR files (CVE-2024-0406). Although a fix was implemented, it hasn't been officially released, and the affected project has since been deprecated. The successor to mholt/archiver is a new project called mholt/archives, and its initial release (v0.1.0) removes the Unarchive() functionality.
What to do
- Apply the vendor's security update for github.com/mholt/archiver/v3.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/mholt/archiver |
≤ 3.5.1 |
no fixed version | — |
| Go | github.com/mholt/archiver |
all |
no fixed version | — |
| Go | github.com/mholt/archiver/v3 |
≤ 3.5.1 |
no fixed version | — |
| Go | github.com/mholt/archiver/v3 |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-7vpp-9cxj-q8gv, GO-2025-3605). Check the version in your lockfile before upgrading.
Affected products
- github.com/mholt/archiver/v3 · github.com/mholt/archiver/v3
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.