CVE-2026-44788
SharpCompress is a fully managed C# library to deal with many …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338
- github.com/advisories/GHSA-6c8g-7p36-r338
- nvd.nist.gov/vuln/detail/CVE-2026-44788
- github.com/adamhathcock/sharpcompress/commit/2021a06626d0555a4d69471386e763ca5f5d5dfb
- nvd.nist.gov/vuln/detail/CVE-2026-44788
- cve.org/CVERecord?id=CVE-2026-44788
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.