CVE-2026-44788

medium

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.

References

https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338

Details

Source: Mitre, NVD

Published: 2026-05-26

Updated: 2026-05-29

Risk Information

CVSS v2

Base Score: 6.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:C/A:P

Severity: Medium

CVSS v3

Base Score: 5.9

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

Severity: Medium

EPSS

EPSS: 0.00014