Node.js Tar Package Vulnerability Allows File Overwrite Outside Directory
CVE-2026-29786
8.2HIGH
Key Information:
Badges
๐พ Exploit Exists๐ก Public PoC
What is CVE-2026-29786?
The node-tar package for Node.js has a vulnerability that allows an attacker to create a hardlink pointing outside of the designated extraction directory. This occurs when a drive-relative link target is used, such as C:../target.txt, potentially leading to unintended file overwrites outside the current working directory during the normal tar.x() extraction process. This issue has been resolved in version 7.5.10 of the node-tar package.
Affected Version(s)
node-tar < 7.5.10
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Score:
8.2
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability Reserved
