Skip to content
Fencer Vulns
high 8.1

CVE-2025-3445 json

mholt/archiver Vulnerable to Path Traversal via Crafted ZIP File

published 2025-04-13 18 mo ago modified 2026-09-10 1 mo ago also GHSA-7vpp-9cxj-q8gv , GO-2025-3605 , EUVD-2025-10908

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • govulncheck-vulndb openSUSE Tumbleweed 0.0.20250807T150727-1.1
  • forgejo openSUSE Tumbleweed 10.0.3-2.1

opensuse advisories openSUSE-SU-2025:15424-1openSUSE-SU-2025:15001-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-3445 updated cvss 8.1

mholt/archiver: A Path Traversal "Zip Slip" vulnerability in mholt/archiver

  • Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-event-sender-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
18 mo ago

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L
GitHub 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:L

Affected packages

ecosystem package affected fixed in
go github.com/mholt/archiver
<=3.5.1
all versions
no fix listed
go github.com/mholt/archiver/v3
<=3.5.1
all versions
no fix listed

Affected products

  • github.com/mholt/archiver/v3 github.com/mholt/archiver/v3

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.