CVE-2026-140248
Deferred Deferred - Pending Action

Path Traversal in Node.js node-tar Library

Vulnerability report for CVE-2026-140248, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-01

Last updated on: 2026-12-01

Assigner: GitHub, Inc.

Description

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, with preservePaths disabled, a crafted archive can first create an in-root symlink and then create a second SymbolicLink whose linkpath traverses that symlink followed by a parent component. STRIPABSOLUTEPATH evaluates the target lexically, while the filesystem follows the first symlink before applying the parent traversal. The resulting link remains inside the extraction tree but points outside it; access outside the root occurs when a later consumer follows the planted link. This issue is fixed in version 8.0.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-01
Last Modified
2026-12-01
Generated
2026-12-01
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
node-tar node-tar 8.0.0
node-tar node-tar From 7.5.22 (inc) to 8.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-59 The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
AI Quick Actions have not been generated yet.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-140248. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...