CVE-2026-140247: Vulnerability in Isaacs Node-tar

Patch soon. node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a crafted archive can create a SymbolicLink inside the extraction directory whose linkpath contains a previously created symlink component followed by a parent traversal. STRIPABSOLUTEPATH evaluates the target lexically, but the filesystem follows the earlier symlink first, so the planted link target resolves outside the extraction root....

npm, CWE-22, CWE-59

Exploitation
None confirmed
Severity
7.2 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-gvrf-jx37-rjv5
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-22, CWE-59
Published
1 Dec 2026
Last change
2 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Isaacs Node-tar Before 8.0.0; Version < 8.0.0. Fixed in 8.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • tar npm, Affected before 8.0.0. Fixed in 8.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related