Path traversal in sharpcompress - #VU131005
Published: May 11, 2026
sharpcompress
Detailed vulnerability description
The vulnerability allows a remote attacker to write arbitrary files outside the intended extraction root.
The vulnerability exists due to improper neutralization of symlink targets in TAR archive extraction when processing a crafted TAR archive with a caller-supplied SymbolicLinkHandler. A remote attacker can include a symlink entry and a subsequent file entry in a crafted TAR archive to write arbitrary files outside the intended extraction root.
This issue affects TAR archives only when the caller provides a SymbolicLinkHandler, and user interaction is required to process the crafted archive.