SB2026111217 - Path traversal in sharpcompress
Published: November 12, 2026
Breakdown by Severity
- 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.