Security mailing lists by PureSourceCode

CVE-2026-44788

MEDIUM 6.5CVSS 3.1

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

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.

Published
26 May 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-22
Also known as
GHSA-6c8g-7p36-r338
Sources
NVDJSONOSV GHSA-6c8g-7p36-r338JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD adamhathcock sharpcompress
cpe:2.3:a:adamhathcock:sharpcompress:*:*:*:*:*:*:*:*
<= 0.47.4
OSV NuGet SharpCompress < 0.48.0 0.48.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.