NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET
.NET NuGet
Not in CISA KEV
MEDIUM severity

CVE-2018-1002208 — SharpZipLib

MEDIUM

CVE-2018-1002208 is a medium-severity (CVSS 5.5) Path Traversal vulnerability in SharpZipLib. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for SharpZipLib — see the affected versions and patch details below.

Improper Limitation of a Pathname to a Restricted Directory in SharpZipLib

Also known asGHSA-cqj4-m2pc-v9m5SNYK-DOTNET-SHARPZIPLIB-60247
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
1 known
Exploitation data as of Nov 4, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
9.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs96th percentile — riskier than 96% of all scored CVEsHighest risk
0.00%4.36%8.71%13.1%0.6%9.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
.NETSharpZipLib

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

SharpZipLib before 1.0 RC1 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'.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetSharpZipLiball versions1.0.0-rc1dotnet add package SharpZipLib --version 1.0.0-rc1

Affected Products

1 product · 1 configurations
Application
sharpziplibsharpziplib_project
≤ 0.86.0.518
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for SharpZipLib, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update SharpZipLib to 1.0.0-rc1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2018-1002208 is resolved across your whole dependency graph.

  3. Workarounds

    Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.

Frequently Asked Questions

SharpZipLib before 1.0 RC1 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'.
O3 Security · Impact-Aware SCA

Is CVE-2018-1002208 in your dependencies?

Find it across NuGet, including transitive dependencies.

CVE-2018-1002208: SharpZipLib — Fixed in 1.0.0-rc1