Path Traversal Vulnerability in SharpCompress Library Affects Multiple Versions
CVE-2026-44788
5.9MEDIUM
What is CVE-2026-44788?
The SharpCompress library, which is designed for handling various compression types and formats, has a path traversal flaw in its IArchive.WriteToDirectory() method. This vulnerability allows a crafted archive to create directories outside the designated extraction path. Particularly with TAR archives, it can escalate to arbitrary file writes by utilizing a symlink entry, potentially granting malicious actors complete write permissions on the target filesystem based on the permissions of the executing process.
Affected Version(s)
sharpcompress <= 0.47.4
