NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2018-1002207 — archiver

MEDIUMFix: mholt/archiver@e4ef56d

CVE-2018-1002207 is a medium-severity (CVSS 5.5) Path Traversal vulnerability in github.com/mholt/archiver. 4 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for github.com/mholt/archiver — see the affected versions and patch details below.

Arbitrary File Write via Archive Extraction in mholt/archiver

Also known asGHSA-5wmg-j84w-4jj4GO-2022-0799SNYK-GOLANG-GITHUBCOMMHOLTARCHIVERCMDARCHIVER-50071
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
4 known
Exploitation data as of Oct 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs85th percentile — riskier than 85% of all scored CVEsHighest risk
2.03%2.39%2.75%3.12%2.6%2.5%Apr 26Aug 26Oct 26

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

1 pkg affected
🐹github.com/mholt/archiver

Real-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

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/mholt/archiverall versions2.1.0go get github.com/mholt/archiver@v2.1.0

Affected Products

1 product · 1 configurations
Application
archiverarchiver_project
≤ 2.0
range
Exploits & PoCs
4

Research 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 dependency
  1. Detect

    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.

  2. Fix

    Update github.com/mholt/archiver to 2.1.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1002207 is resolved across your whole dependency graph.

  3. 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

mholt/archiver golang package before e4ef56d48eb029648b0e895bb0b6a393ef0829c3 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in an archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
O3 Security · Impact-Aware SCA

Is CVE-2018-1002207 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2018-1002207: archiver Path Traversal — Fixed in 2.1.0