SB2026111217 - Path traversal in sharpcompress



SB2026111217 - Path traversal in sharpcompress

Published: November 12, 2026

Security Bulletin ID SB2026111217
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Path traversal (CVE-ID: N/A)

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]


The vulnerability allows a remote attacker to create or overwrite files outside the extraction root with the victim process's write permissions.

The vulnerability exists due to insufficient symlink target validation and reliance on path-prefix checks in SharpCompress TAR extraction when a caller-provided SymbolicLinkHandler creates symlinks from archive entries. A remote attacker can supply a crafted TAR containing a symlink pointing outside the extraction root followed by a file entry beneath that symlink to redirect writes outside the intended directory.


Remediation

Install update from vendor's website.