CVE 5.9 MEDIUM

SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)_CVE-2026-44788

5.9 / 10
MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L

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.

Basic Information

ID CVE-2026-44788
Source GitHub_M
Published May 26, 2026 at 21:32

Affected Product

Vendor adamhathcock
Product sharpcompress
Version <= 0.47.4
Affected Versions adamhathcock sharpcompress <= 0.47.4

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.