CVE-2018-1002206
5.5 MEDIUMSharpCompress before 0.21.0 is vulnerable to directory traversal, allowing attackers to write to arbitrary files via a ../ (dot dot slash...
Published: 2018-07-25 · Last updated: 2026-06-05
Severity and scoring
- CVSS
- 5.5 MEDIUM
- Vector
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- CWE
- CWE-22
Affected products
| Vendor | Product |
|---|---|
| adamhathcock | sharpcompress |
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'.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2018-1002206
- [Patch]https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6
- [Patch]https://github.com/adamhathcock/sharpcompress/pull/374
- [Exploit reference]https://github.com/snyk/zip-slip-vulnerability
- [Exploit reference]https://snyk.io/research/zip-slip-vulnerability
- [Exploit reference]https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
- [Patch]https://github.com/adamhathcock/sharpcompress/commit/42b1205fb435de523e6ef8ac5b7bafbe712997f6
- [Patch]https://github.com/adamhathcock/sharpcompress/pull/374
- [Exploit reference]https://github.com/snyk/zip-slip-vulnerability
- [Exploit reference]https://snyk.io/research/zip-slip-vulnerability
- [Exploit reference]https://snyk.io/vuln/SNYK-DOTNET-SHARPCOMPRESS-60246
Related CVEs
Same vendor
- CVE-2026-44788 — SharpCompress is a fully managed C# library to deal with many compression types and formats (5.9 MEDIUM)
Same CWE
- CVE-2026-48777 — FileBrowser Quantum is a free, self-hosted, web-based file manager
- CVE-2026-8442 — The WP Review Slider Pro plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to and including 12.6.8 (8.1 HIGH)
- CVE-2026-49766 — Subscriber Arbitrary File Deletion in WP User Manager <= 2.9.16 versions (9.9 CRITICAL)
- CVE-2026-49061 — Unauthenticated Arbitrary File Download in WPC Product Options for WooCommerce <= 3.2.1 versions (7.5 HIGH)
- CVE-2026-40779 — Contributor Arbitrary File Deletion in Link Library <= 7.8.8 versions (7.7 HIGH)