Path Traversal in Adamhathcock Sharpcompress
CVE-2026-44788
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L.
EPSS exploit prediction
EPSS: 0.004 (26.5th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 27th percentile — 26.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.000
Affected products
- Adamhathcock Sharpcompress — versions <= 0.47.4
- Sharpcompress Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338 (Exploit, Mitigation, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-44788?
- CVE-2026-44788 is a medium-severity vulnerability in Adamhathcock Sharpcompress, classified under Path Traversal. CVSS score: 5.9/10. Published 2026-05-26.
- How severe is CVE-2026-44788?
- Medium severity. CVSS v3 base score is 5.9 out of 10.
- Is CVE-2026-44788 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.