Every CVE Search/ Get API key

CVE-2018-1002206

Directory Traversal in SharpCompress

5.5 MediumFix available

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

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

9.33%Up 8.1 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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

Record
CVE-2018-1002206
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:P/A:N
Weakness
CWE-22
Updated
2026-11-02
CVE List No score

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

Record
CVE-2018-1002206
Weakness
CWE-22
Updated
2026-11-02
EUVDEUVD-2019-0666 No score

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

Record
EUVD-2019-0666
Updated
2026-11-03
GitHub AdvisoriesGHSA-fxh6-w476-hgr4 5.5

Directory Traversal in SharpCompress

SharpCompress prior to version 0.21 is vulnerable to path traversal issue in archive extraction.

Record
GHSA-fxh6-w476-hgr4
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02
OSV 5.5

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

Record
CVE-2018-1002206
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Updated
2026-11-02
OSVGHSA-fxh6-w476-hgr4 5.5

Directory Traversal in SharpCompress

SharpCompress prior to version 0.21 is vulnerable to path traversal issue in archive extraction.

Record
GHSA-fxh6-w476-hgr4
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness
CWE-22
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sharpcompress
NuGet
before 0.21.0
0.21.0
SharpCompress
NuGet
before 0.21.0, plus listed versions
0.10.00.10.10.10.1.10.10.1.30.10.2
Show 42 moreShow less
0.10.30.11.00.11.10.11.20.11.30.11.40.11.50.11.60.12.00.12.10.12.20.12.30.12.40.13.00.13.10.14.00.14.10.15.00.15.10.15.20.16.00.16.10.16.20.17.00.17.10.18.00.18.10.18.20.19.00.19.10.19.20.2.00.20.00.3.00.4.00.5.00.6.00.7.00.8.00.8.10.8.20.9.0
0.21.0

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-1002206 is a medium vulnerability (CVSS 5.5) in Adamhathcock Sharpcompress, published July 25, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 9.33%, the 95th percentile. Fixed in sharpcompress 0.21.0.

References

MoveEnter Open