CVE-2026-44788
SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)
MEDIUM 6.5EPSS 0.4%
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.
- Affected
- adamhathcock · sharpcompress
- CVSS v3.1 NVD
- 6.5 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - CVSS v3.1 GITHUB
- 5.9 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L - EPSS
- 0.35% chance of exploitation in the next 30 days, 27th percentile
- Published
- 2026-05-26
- Updated
- 2026-05-27
Proof-of-concept exploits (2)
- advisories/GHSA-6c8g-7p36-r338
- e-corp-demo/CVE-2026-447880★ · 2026-07-02