CVE-2025-3445
mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- High
- Availability
- Low
Exploit likelihood
What each source reports
CVE List Score used
8.1
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.
- Record
CVE-2025-3445- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Weakness
- CWE-22
- Updated
- 2026-11-02
EUVDEUVD-2025-10908
8.1
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.
- Record
EUVD-2025-10908- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-7vpp-9cxj-q8gv
8.1
mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File
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.
- Record
GHSA-7vpp-9cxj-q8gv- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Weakness
- CWE-22
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2025-3445- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Weakness
- CWE-22
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2025-3445- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGHSA-7vpp-9cxj-q8gv
8.1
mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File
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.
- Record
GHSA-7vpp-9cxj-q8gv- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L - Weakness
- CWE-22
- Updated
- 2026-11-02
OSVGO-2025-3605 No score
Vulnerable to Path Traversal via Crafted ZIP File in github.com/mholt/archiver
Vulnerable to Path Traversal via Crafted ZIP File in github.com/mholt/archiver
- Record
GO-2025-3605- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15001-1 No score
forgejo-10.0.3-2.1 on GA media
These are all security issues fixed in the forgejo-10.0.3-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15001-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15424-1 No score
govulncheck-vulndb-0.0.20250807T150727-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250807T150727-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15424-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/mholt/archiverGo |
through 3.5.1 | None known |
github.com/mholt/archiver/v3Go |
through 3.5.1 | None known |
github.com/mholt/archiverGo |
All versions | None known |
github.com/mholt/archiver/v3Go |
All versions | None known |
forgejoopenSUSE:Tumbleweed |
before 10.0.3-2.1 | 10.0.3-2.1 |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 44 CVEs |
before 0.0.20250807T150727-1.1 | 0.0.20250807T150727-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-3445 is a high vulnerability (CVSS 8.1) in Github.com/mholt/archiver/v3, published April 13, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.51%, the 43rd percentile. Fixed in forgejo 10.0.3-2.1.
References
github.com/mholt/archiver
nvd.nist.gov/vuln/detail/CVE-2025-3445
github.com/mholt/archiver/issues/267
github.com/mholt/archiver/commit/fea250ac6eacd56f90a82fbe2481cfdbb9a1bbd1
github.com/advisories/GHSA-7vpp-9cxj-q8gv
github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3445.json
Show 45 moreShow less
lists.opensuse.org/archives/list/[email protected]/thread/FA6XGVXNKUJ7YTTS6P27RAZUXIME7ESO
suse.com/security/cve/CVE-2025-3445
suse.com/security/cve/CVE-2015-7561
suse.com/security/cve/CVE-2016-9962
suse.com/security/cve/CVE-2017-1000056
suse.com/security/cve/CVE-2017-1002102
suse.com/security/cve/CVE-2018-1002100
suse.com/security/cve/CVE-2018-1002101
suse.com/security/cve/CVE-2018-16733
suse.com/security/cve/CVE-2018-19184
suse.com/security/cve/CVE-2019-1002100
suse.com/security/cve/CVE-2019-1002101
suse.com/security/cve/CVE-2019-11245
suse.com/security/cve/CVE-2019-11251
suse.com/security/cve/CVE-2019-11253
suse.com/security/cve/CVE-2020-26240
suse.com/security/cve/CVE-2020-26241
suse.com/security/cve/CVE-2020-8551
suse.com/security/cve/CVE-2020-8555
suse.com/security/cve/CVE-2020-8557
suse.com/security/cve/CVE-2020-8558
suse.com/security/cve/CVE-2020-8562
suse.com/security/cve/CVE-2020-8563
suse.com/security/cve/CVE-2020-8566
suse.com/security/cve/CVE-2021-25735
suse.com/security/cve/CVE-2021-25736
suse.com/security/cve/CVE-2021-25737
suse.com/security/cve/CVE-2021-25741
suse.com/security/cve/CVE-2021-25743
suse.com/security/cve/CVE-2021-30465
suse.com/security/cve/CVE-2022-29162
suse.com/security/cve/CVE-2022-29177
suse.com/security/cve/CVE-2022-3162
suse.com/security/cve/CVE-2022-3294
suse.com/security/cve/CVE-2023-2431
suse.com/security/cve/CVE-2023-25809
suse.com/security/cve/CVE-2023-2727
suse.com/security/cve/CVE-2023-2728
suse.com/security/cve/CVE-2023-27561
suse.com/security/cve/CVE-2023-28642
suse.com/security/cve/CVE-2023-5528
suse.com/security/cve/CVE-2024-45310
suse.com/security/cve/CVE-2024-5321
suse.com/security/cve/CVE-2025-47907
suse.com/security/cve/CVE-2025-47908