CVE-2018-1002206 — SharpCompress before 0
SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
Published
2018-07-25T17:29:01.940
Last modified
2026-06-05T03:10:18.100
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
01What is this vulnerability?
SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash) in a Zip archive entry that is mishandled during extraction. This vulnerability is also known as 'Zip-Slip'.
02Affected products
No structured affected-product list available — see references below for vendor advisories.
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2018-07-25T17:29:01.940
- Last modified: 2026-06-05T03:10:18.100
09References
- github.com — https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7…
- github.com — https://github.com/adamhathcock/sharpcompress/pull/374
- github.com — https://github.com/snyk/zip-slip-vulnerability
- snyk.io — https://snyk.io/research/zip-slip-vulnerability
- snyk.io — https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
- github.com — https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7…
- github.com — https://github.com/adamhathcock/sharpcompress/pull/374
- github.com — https://github.com/snyk/zip-slip-vulnerability
- snyk.io — https://snyk.io/research/zip-slip-vulnerability
- snyk.io — https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →