CVE-2026-44788 MEDIUM

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

Vendor Adamhathcock
Product sharpcompress
Weakness CWE-22 · Path traversal
Published May 26, 2026
Last update May 27, 2026

CVSS base score

5.9/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction Required
Confidentiality None
Integrity High

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 26, 2026 CVE published
May 27, 2026 Record updated