{"id":"CVE-2026-44788","summary":"SharpCompress: Directory traversal via directory entries in WriteToDirectory (zip slip variant)","details":"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.","aliases":["GHSA-6c8g-7p36-r338"],"modified":"2026-08-12T03:51:20.362463103Z","published":"2026-05-26T21:32:00.845Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44788.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44788.json"},{"type":"ADVISORY","url":"https://github.com/adamhathcock/sharpcompress/security/advisories/GHSA-6c8g-7p36-r338"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44788"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/adamhathcock/sharpcompress","events":[{"introduced":"0"},{"last_affected":"5758b08236b275b926bc2c3d97604a96d21546c0"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.47.4"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:*"}}],"versions":["0.47.4","0.47.3","0.47.2","0.47.1","0.47.0","0.46.0","0.45.1","0.45.0","0.44.0","0.43.0","0.42.0","0.41.0","0.40.0","0.39.0","0.38.0","0.37.2","0.37.1","0.37.0","0.36.0","0.35.0","0.34.2","0.34.1","0.34.0","0.33.0","0.32.2","0.32.1","0.32","0.31","0.30.1","0.30","0.29.0","0.29","0.28.3","0.28.2","0.28.1","0.28","0.27.1","0.27","0.26","0.25.1","0.25","0.24","0.23","0.22","0.21.1","0.21.0","0.21","0.20.0","0.19.2","0.19.1","0.19","0.18.2","0.18.1","0.18","0.17.1","0.17.0","0.16.2","0.16.1","0.16.0","0.15.2","0.15.1","0.15.0","0.14.1","0.14.0","0.13.1","0.13.0","0.12.4","0.12.3","0.12.2","0.12.1","0.12.0","0.11.6","0.11.5","0.11.4","0.11.2","0.11.3","0.11.1","0.11","0.10.3","0.10.2","0.10.1.3","0.10.1.2","0.10.1.1","0.10.1","0.10","0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44788.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L"}]}