← back
CVE-2026-44788

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

CVSS 5.9 MEDIUMEPSS 0.3%CWE-22
Vexday Risk Score
33Attention
SSVC decision (CISA)
Attend
PoC available → attend closely
CVSS 5.9EPSS 0.3%KEV nãoPoC públicaNuclei Metasploit Patch
Lifecycle
26 May 2026Published on NVD
26 Jun 2026Public PoC
Recommendation: Plan a near-term fix — a public PoC already exists.
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.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.