CVE-2026-44788

MEDIUM CVSS 3.1: 6.5 EPSS 0.31%
Updated Jul 24, 2026
Adamhathcock
Parameter Value
CVSS 6.5 (MEDIUM)
Affected Versions before 0.47.4
Type CWE-22 (Path Traversal)
Vendor Adamhathcock
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Adamhathcock Sharpcompress
cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:*
— <= 0.47.4