CVE-2026-29786: tar has Hardlink Path Traversal via Drive-Relative Linkpath
(updated )
tar (npm) can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-29786 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →