CVE-2026-44788CWE-22

SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)

Medium · published May 26, 2026

CVSS v3.1
5.9
EPSS
0%
Percentile
27.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.9 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00352 · 27.6th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-05-26T21:32Z
EPSS history
Timeline
  • 26 MAY 21:32Z
    SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)
    cvelistv5