Symlink Vulnerability in node-tar for Node.js by Isaacs
CVE-2026-31802
8.2HIGH
Key Information:
Badges
๐พ Exploit Exists๐ก Public PoC
What is CVE-2026-31802?
node-tar, a comprehensive Tar utility for Node.js, is susceptible to a symlink vulnerability that allows an attacker to craft a drive-relative symlink target. This exploitation can lead to the creation of symlinks that point to paths outside the targeted extraction directory. As a result, during the normal extraction process using tar.x(), files can be overwritten outside the current working directory. This issue was resolved in version 7.5.11, reinforcing the importance of using updated packages to maintain security integrity.
Affected Version(s)
node-tar < 7.5.11
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.
