cve.bz

CVE-2025-3445 github.com/mholt/archiver/v3 github.com/mholt/archiver/v3: Path traversal

8.1 highEPSS 0.5%

High (8.1) in github.com/mholt/archiver/v3 github.com/mholt/archiver/v3. EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

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
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-3445 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-3445?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-3445?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-3445 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
github.com/mholt/archiver/v3from v3.0.0 through v3.5.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7vpp-9cxj-q8gvGogithub.com/mholt/archiver<=3.5.1no fix published
GHSA-7vpp-9cxj-q8gvGogithub.com/mholt/archiver/v3<=3.5.1no fix published
GO-2025-3605Gogithub.com/mholt/archiverall versionsno fix published
GO-2025-3605Gogithub.com/mholt/archiver/v3all versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
openSUSETumbleweedforgejo10.0.3-2.1openSUSE-SU-2025:15001-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

While the "Zip Slip" vulnerability in mholt/archiver has severe implications, it is categorized as important rather than critical due to its reliance on specific conditions for exploitation. Successful exploitation requires the application to process untrusted ZIP input and extract it using the vulnerable Unarchive() function without prior validation. Moreover, the impact is confined to the privileges of the running process—meaning the extent of damage depends on the context in which the application is executed. If the application runs with limited permissions (e.g., as a non-root user), the ability to overwrite system-critical files or achieve full remote code execution is significantly reduced.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OpenShift Serverlessopenshift-serverless-1/kn-plugin-event-sender-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-3445.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON