CVE-2026-140248: node-tar: Nested symlink target can escape node-tar extraction root
Vulnerability summary
CVE-2026-140248 is a high (CVSS 7.2) vulnerability in isaacs node-tar. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 61.4% of scored vulnerabilities.
Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 05-12-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- NVDNIST7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · NpmEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- OSV · ChainguardEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard59 products
- cdxgen-slimAll versions (No fix recorded)
- cubejsAll versions (No fix recorded)
- cypressAll versions (No fix recorded)
- eco-jessAll versions (No fix recorded) | < 2026.12.04.47258835307001-r0
- gemini-cliAll versions (No fix recorded) | < 0.72.0-r1
Wolfi19 products
- lernaAll versions (No fix recorded)
- node-gypAll versions (No fix recorded)
- opensearch-dashboards-3All versions (No fix recorded)
- opensearch-dashboards-3-alerting-dashboards-pluginAll versions (No fix recorded)
- opensearch-dashboards-3-anomaly-detection-dashboards-pluginAll versions (No fix recorded)
Debian1 product
- node-tarAll versions (No fix recorded)
Isaacs1 product
- node-tar≥ 7.5.22, < 8.0.0
Npm1 product
- tar≥ 7.5.22, < 8.0.0
Ubuntu1 product
- node-tarAll versions (No fix recorded)
6 vendors · 82 products
References
9 links- github.com/isaacs/node-tar/security/advisories/GHSA-6wwr-g865-f46rX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3dX Refsource MISCWEBFIXREPORT
- github.com/isaacs/node-tarPACKAGE