Back
CVE-2018-1002206
SharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash)…
Medium5.5EPSS 9.3%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
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'.
Timeline
ID reserved
By snyk
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Medium5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 9.3% · top 4.6% of all CVEs (7 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
Affected products
- affected unspecified – < 0.21.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- NuGetSharpCompressGHSA-fxh6-w476-hgr4 (opens in a new tab)
References (5)
- https://snyk.io/research/zip-slip-vulnerability (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/snyk/zip-slip-vulnerability (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/adamhathcock/sharpcompress/pull/374 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6 (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-fxh6-w476-hgr4 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2018-1002206)Record last updated .