CVE-2026-44788
Last modified
CVE-2026-44788 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Adamhathcock | Sharpcompress | <= 0.47.4 |
References
- https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338Exploit, Mitigation, Vendor Advisory
- https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338Exploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-44788?
How severe is CVE-2026-44788?
How do I fix CVE-2026-44788?
Are you affected by CVE-2026-44788?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
