Archiver Path Traversal vulnerabilityGHSA-rhh4-rh7c-7r5v
MEDIUMGHSA-rhh4-rh7c-7r5v is a medium-severity (CVSS 6.1) Path Traversal vulnerability in github.com/mholt/archiver/v3. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. The records list no fixed version yet; check the vendor advisory below and apply the mitigations in the meantime.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-rhh4-rh7c-7r5v.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/mholt/archiver/v3🐹github.com/mholt/archiverReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
A flaw was discovered in the mholt/archiver package. This flaw allows an attacker to create a specially crafted tar file, which, when unpacked, may allow access to restricted files or directories. This issue can allow the creation or overwriting of files with the user's or application's privileges using the library.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mholt/archiver/v3 | ≥ 3.0.0 | No fix |
| 🐹Go | github.com/mholt/archiver | ≥ 3.0.0 | No fix |
Affected Products
archivermholtadvanced cluster securityredhatopenshift container platformredhatResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/mholt/archiver/v3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Remediation status
The records we use list no patched version of github.com/mholt/archiver/v3 for GHSA-rhh4-rh7c-7r5v. Check the maintainer's advisory, and where your build allows, override or pin the dependency away from the vulnerable range.
Mitigate without a patch
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This is a path traversal vulnerability in v3 of mhol/archiver and has been marked as moderate for a variety of reasons. First and foremost the attacker in order to exploit this vulnerability would require local files system/code execution level access, this cannot be exploited on a network level, secondly, the…
| Product | Fixed in | Advisory |
|---|---|---|
| Red Hat OpenShift Container Platform 4.18 | openshift4/oc-mirror-plugin-rhel9:v4.18.0-202503051333.p0.g22b273d.assembly.stream.el9 | RHSA-2025:2449 |
Frequently Asked Questions
Is GHSA-rhh4-rh7c-7r5v in your dependencies?
Find it across Go, including transitive dependencies.