Skip to content

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

MediumCVSS 6.5 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
adamhathcock sharpcompress <= 0.47.4; = <= 0.47.4 after 0.47.4 Fixed
nuget sharpcompress(NuGet) < 0.48.0; = 0.2.0; = 0.3.0; = 0.4.0 +99 more 0.48.0 Fixed

Affected products

ProductAffected versionsFixed in
nuget sharpcompress(NuGet) < 0.48.0 0.48.0
nuget sharpcompress(NuGet) = 0.10.0 No fix listed
nuget sharpcompress(NuGet) = 0.10.1 No fix listed
nuget sharpcompress(NuGet) = 0.10.1.1 No fix listed
nuget sharpcompress(NuGet) = 0.10.1.3 No fix listed
nuget sharpcompress(NuGet) = 0.10.2 No fix listed
nuget sharpcompress(NuGet) = 0.10.3 No fix listed
nuget sharpcompress(NuGet) = 0.11.0 No fix listed
nuget sharpcompress(NuGet) = 0.11.1 No fix listed
nuget sharpcompress(NuGet) = 0.11.2 No fix listed
nuget sharpcompress(NuGet) = 0.11.3 No fix listed
nuget sharpcompress(NuGet) = 0.11.4 No fix listed
nuget sharpcompress(NuGet) = 0.11.5 No fix listed
nuget sharpcompress(NuGet) = 0.11.6 No fix listed
nuget sharpcompress(NuGet) = 0.12.0 No fix listed
nuget sharpcompress(NuGet) = 0.12.1 No fix listed
nuget sharpcompress(NuGet) = 0.12.2 No fix listed
nuget sharpcompress(NuGet) = 0.12.3 No fix listed
nuget sharpcompress(NuGet) = 0.12.4 No fix listed
nuget sharpcompress(NuGet) = 0.13.0 No fix listed
nuget sharpcompress(NuGet) = 0.13.1 No fix listed
nuget sharpcompress(NuGet) = 0.14.0 No fix listed
nuget sharpcompress(NuGet) = 0.14.1 No fix listed
nuget sharpcompress(NuGet) = 0.15.0 No fix listed
nuget sharpcompress(NuGet) = 0.15.1 No fix listed
Show 80 more
ProductAffected versionsFixed in
nuget sharpcompress(NuGet) = 0.15.2 No fix listed
nuget sharpcompress(NuGet) = 0.16.0 No fix listed
nuget sharpcompress(NuGet) = 0.16.1 No fix listed
nuget sharpcompress(NuGet) = 0.16.2 No fix listed
nuget sharpcompress(NuGet) = 0.17.0 No fix listed
nuget sharpcompress(NuGet) = 0.17.1 No fix listed
nuget sharpcompress(NuGet) = 0.18.0 No fix listed
nuget sharpcompress(NuGet) = 0.18.1 No fix listed
nuget sharpcompress(NuGet) = 0.18.2 No fix listed
nuget sharpcompress(NuGet) = 0.19.0 No fix listed
nuget sharpcompress(NuGet) = 0.19.1 No fix listed
nuget sharpcompress(NuGet) = 0.19.2 No fix listed
nuget sharpcompress(NuGet) = 0.2.0 No fix listed
nuget sharpcompress(NuGet) = 0.20.0 No fix listed
nuget sharpcompress(NuGet) = 0.21.0 No fix listed
nuget sharpcompress(NuGet) = 0.21.1 No fix listed
nuget sharpcompress(NuGet) = 0.22.0 No fix listed
nuget sharpcompress(NuGet) = 0.23.0 No fix listed
nuget sharpcompress(NuGet) = 0.24.0 No fix listed
nuget sharpcompress(NuGet) = 0.25.0 No fix listed
nuget sharpcompress(NuGet) = 0.25.1 No fix listed
nuget sharpcompress(NuGet) = 0.26.0 No fix listed
nuget sharpcompress(NuGet) = 0.27.0 No fix listed
nuget sharpcompress(NuGet) = 0.27.1 No fix listed
nuget sharpcompress(NuGet) = 0.28.0 No fix listed
nuget sharpcompress(NuGet) = 0.28.1 No fix listed
nuget sharpcompress(NuGet) = 0.28.2 No fix listed
nuget sharpcompress(NuGet) = 0.28.3 No fix listed
nuget sharpcompress(NuGet) = 0.29.0 No fix listed
nuget sharpcompress(NuGet) = 0.3.0 No fix listed
nuget sharpcompress(NuGet) = 0.30.0 No fix listed
nuget sharpcompress(NuGet) = 0.30.1 No fix listed
nuget sharpcompress(NuGet) = 0.31.0 No fix listed
nuget sharpcompress(NuGet) = 0.32.0 No fix listed
nuget sharpcompress(NuGet) = 0.32.1 No fix listed
nuget sharpcompress(NuGet) = 0.32.2 No fix listed
nuget sharpcompress(NuGet) = 0.33.0 No fix listed
nuget sharpcompress(NuGet) = 0.34.0 No fix listed
nuget sharpcompress(NuGet) = 0.34.1 No fix listed
nuget sharpcompress(NuGet) = 0.34.2 No fix listed
nuget sharpcompress(NuGet) = 0.35.0 No fix listed
nuget sharpcompress(NuGet) = 0.36.0 No fix listed
nuget sharpcompress(NuGet) = 0.37.0 No fix listed
nuget sharpcompress(NuGet) = 0.37.1 No fix listed
nuget sharpcompress(NuGet) = 0.37.2 No fix listed
nuget sharpcompress(NuGet) = 0.38.0 No fix listed
nuget sharpcompress(NuGet) = 0.39.0 No fix listed
nuget sharpcompress(NuGet) = 0.4.0 No fix listed
nuget sharpcompress(NuGet) = 0.40.0 No fix listed
nuget sharpcompress(NuGet) = 0.41.0 No fix listed
nuget sharpcompress(NuGet) = 0.42.0 No fix listed
nuget sharpcompress(NuGet) = 0.42.1 No fix listed
nuget sharpcompress(NuGet) = 0.43.0 No fix listed
nuget sharpcompress(NuGet) = 0.44.0 No fix listed
nuget sharpcompress(NuGet) = 0.44.1 No fix listed
nuget sharpcompress(NuGet) = 0.44.2 No fix listed
nuget sharpcompress(NuGet) = 0.44.3 No fix listed
nuget sharpcompress(NuGet) = 0.44.4 No fix listed
nuget sharpcompress(NuGet) = 0.44.5 No fix listed
nuget sharpcompress(NuGet) = 0.45.0 No fix listed
nuget sharpcompress(NuGet) = 0.45.1 No fix listed
nuget sharpcompress(NuGet) = 0.46.0 No fix listed
nuget sharpcompress(NuGet) = 0.46.1 No fix listed
nuget sharpcompress(NuGet) = 0.46.2 No fix listed
nuget sharpcompress(NuGet) = 0.46.3 No fix listed
nuget sharpcompress(NuGet) = 0.46.4 No fix listed
nuget sharpcompress(NuGet) = 0.47.0 No fix listed
nuget sharpcompress(NuGet) = 0.47.1 No fix listed
nuget sharpcompress(NuGet) = 0.47.2 No fix listed
nuget sharpcompress(NuGet) = 0.47.3 No fix listed
nuget sharpcompress(NuGet) = 0.47.4 No fix listed
nuget sharpcompress(NuGet) = 0.5.0 No fix listed
nuget sharpcompress(NuGet) = 0.6.0 No fix listed
nuget sharpcompress(NuGet) = 0.7.0 No fix listed
nuget sharpcompress(NuGet) = 0.8.0 No fix listed
nuget sharpcompress(NuGet) = 0.8.1 No fix listed
nuget sharpcompress(NuGet) = 0.8.2 No fix listed
nuget sharpcompress(NuGet) = 0.9.0 No fix listed
adamhathcock sharpcompress = <= 0.47.4 No fix listed
adamhathcock sharpcompress <= 0.47.4 No fix listed

References