Is SharpCompress 0.18 vulnerable?

NuGet · 3 releases from 0.18.0 to 0.18.2 · latest SharpCompress is 0.50.10 · checked 18 Nov 2026

Yes: 3 known advisories

Yes. SharpCompress 0.18.2, the last 0.18 release, is affected by 3 known security advisories (3 medium), including CVE-2026-44788, CVE-2021-39208, CVE-2018-1002206. Upgrade to 0.48.0 or later to fix all of them.

Upgrade with:dotnet add package SharpCompress --version 0.48.0

Is your project on an affected SharpCompress?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting SharpCompress 0.18.2

  • MediumCVE-2026-44788GHSA-6c8g-7p36-r3388 May 2026

    SharpCompress has directory traversal via directory entries in WriteToDirectory (zip slip variant)

    Affected
    <0.48.0
    Fixed in
    0.48.0
  • MediumCVE-2021-39208GHSA-jp7f-grcv-6mjf20 Sept 2021

    Partial path traversal in sharpcompress

    Affected
    <0.29
    Fixed in
    0.29
  • MediumCVE-2018-1002206GHSA-fxh6-w476-hgr411 Sept 2019

    Directory Traversal in SharpCompress

    Affected
    <0.21.0
    Fixed in
    0.21.0

Every SharpCompress 0.18.x release

Affected: 0.18.0 to 0.18.2. Latest SharpCompress: 0.50.10.

VersionKnown advisories
SharpCompress 0.18.2CVE-2026-44788, CVE-2021-39208, CVE-2018-1002206
SharpCompress 0.18.1CVE-2026-44788, CVE-2021-39208, CVE-2018-1002206
SharpCompress 0.18.0CVE-2026-44788, CVE-2021-39208, CVE-2018-1002206

Which of your client projects are still on SharpCompress 0.18?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact SharpCompress version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other SharpCompress versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the NuGet registry. Refreshed daily.