Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Adamhathcock | Sharpcompress | <= 0.47.4 |
Related Weaknesses (CWE)
References
- https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36ExploitMitigationVendor Advisory
- https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36ExploitMitigationVendor Advisory
FAQ
What is CVE-2026-44788?
CVE-2026-44788 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 arc...
How severe is CVE-2026-44788?
CVE-2026-44788 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-44788?
Check the references section above for vendor advisories and patch information. Affected products include: Adamhathcock Sharpcompress.