CVE-2019-10743 is a medium-severity (CVSS 5.5) Path Traversal vulnerability in github.com/mholt/archiver. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for github.com/mholt/archiver — see the affected versions and patch details below.
Path Traversal in MHolt Archiver
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/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
All versions of archiver allow attacker to perform a Zip Slip attack via the "unarchive" functions. It is exploited using a specially crafted zip archive, that holds path traversal filenames. When exploited, a filename in a malicious archive is concatenated to the target extraction directory, which results in the final path ending up outside of the target folder. For instance, a zip may hold a file with a "../../file.exe" location and thus break out of the target folder. If an executable or a configuration file is overwritten with a file containing malicious code, the problem can turn into an arbitrary code execution issue quite easily.
Specific Go Packages Affected
github.com/mholt/archiver/cmd/arc
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/mholt/archiver | ≥ 3.0.0&&< 3.3.2 | 3.3.2go get github.com/mholt/archiver@v3.3.2 |
Affected Products
archiverarchiver_projectResearch 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, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/mholt/archiver to 3.3.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2019-10743 is resolved across your whole dependency graph.
Workarounds
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.
Frequently Asked Questions
Is CVE-2019-10743 in your dependencies?
Find it across Go, including transitive dependencies.