Skip to content
Fencer Vulns
medium 5.5

CVE-2018-1002206 json

Directory Traversal in SharpCompress

published 2018-07-25 8 y ago modified 2026-09-10 1 mo ago also GHSA-fxh6-w476-hgr4 , EUVD-2019-0666

cvss
5.5
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
9.3%
EPSS 9.3% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

Summary

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

Patch / fix

  • nuget SharpCompress 0.21.0
  • SharpCompress SharpCompress 0.21.0

Exploit prediction

9.33% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/research/zip-slip-vulnerability referenced PoC, tagged "exploit" by a source, unverified
  • snyk.io https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246 referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/snyk/zip-slip-vulnerability referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.0 5.5 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
nuget SharpCompress
<0.21.0
0.21.0

Affected products

  • SharpCompress SharpCompress

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.