CVE-2026-140247

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. A later consumer that follows the link can read or write outside that root. This issue is fixed in version 8.0.0.
CVSS

No CVSS.

Configurations

No configuration.

History

01 Dec 2026, 23:17

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-gvrf-jx37-rjv5 - () https://github.com/isaacs/node-tar/security/advisories/GHSA-gvrf-jx37-rjv5 -

01 Dec 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 18:17

Updated : 2026-12-01 23:17


NVD link : CVE-2026-140247

Mitre link : CVE-2026-140247

CVE.ORG link : CVE-2026-140247


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-59

Improper Link Resolution Before File Access ('Link Following')