CVE Catalog

CVE-2026-44788

MediumCVSS 5.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.31%

24th percentile - higher than 24% of all known CVEs

Summary

SharpCompress 0.47.4 and earlier has a path traversal vulnerability in IArchive.WriteToDirectory(). A malicious archive can create directories outside the extraction root. For TAR archives, this can be escalated to arbitrary file writes via symlinks.

Risk Assessment

An attacker can write files to arbitrary locations on the filesystem, potentially leading to server compromise or modification of critical files.

Recommendation

Update SharpCompress to a version later than 0.47.4 that includes the fix.

Related vulnerabilities

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS