Live threats

All CVEs / Adamhathcock

CVE-2026-44788Adamhathcock Sharpcompress

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
May 26, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

SharpCompress is a fully managed C# library to deal with many compression types and formats. In 0.47.4 and earlier, a path traversal vulnerability in IArchive.WriteToDirectory() allows a malicious archive to create directories outside the intended extraction root. For TAR archives, this can be escalated to arbitrary file writes by chaining with a symlink entry, giving a full write primitive on the target filesystem subject to the permissions of the running process.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sharpcompress.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
NuGet SharpCompress < 0.48.0 0.48.0 dotnet add package SharpCompress --version 0.48.0

Per OSV / GitHub Advisories (GHSA-6c8g-7p36-r338). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
adamhathcocksharpcompress≤ 0.47.4

Official sources

References

Links published by the sources. Open them with care.