CVE-2026-140247
Severity CVSS v4.0:
HIGH
Type:
CWE-22
Path Traversal
Publication date:
01/12/2026
Last modified:
01/12/2026
Description
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.
Impact
Base Score 4.0
7.20
Severity 4.0
HIGH


