Security mailing lists by PureSourceCode

CVE-2025-3445

HIGH 8.1CVSS 3.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.

Published
13 Apr 2025
Last modified
10 Sep 2026
Assigned by
reefs@jfrog.com
NVD status
Deferred
Weakness
CWE-22
Also known as
GHSA-7vpp-9cxj-q8gvGO-2025-3605
Sources
NVDJSONOSV GHSA-7vpp-9cxj-q8gvJSONOSV GO-2025-3605JSON

Scores

SourceScored byVersionScoreVector / decision
NVD reefs@jfrog.com (Secondary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/mholt/archiver <= 3.5.1
OSV Go github.com/mholt/archiver/v3 <= 3.5.1
OSV Go github.com/mholt/archiver all versions
OSV Go github.com/mholt/archiver/v3 all versions

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 13 Apr 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 5 Aug 2025)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Apr 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.