CVE-2026-140248
CVE-2026-140248 — node-tar: Nested symlink target can escape node-tar extraction root
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.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.2
HIGH
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.2 | CVSS 4.0 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-59
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1547.009Boot or Logon Autostart Execution: Shortcut Modification
- T1574.005Hijack Execution Flow: Executable Installer File Permissions Weakness
- T1574.010Hijack Execution Flow: Services File Permissions Weakness
References
3 on the record
- github.com/isaacs/node-tar/security/advisories/GHSA-6wwr-g865-f46r
x_refsource_CONFIRM
- github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d
x_refsource_MISC
- github.com/isaacs/node-tar/releases/tag/v8.0.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-48384 Git allows arbitrary code execution through broken config quotingCVSS 8.0 · CISA KEV
- CVE-2026-81963 Windows Update Stack Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-41091 Microsoft Defender Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2025-60710 Host Process for Windows Tasks Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2023-36874 Microsoft Windows Error Reporting Service Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2020-0787 Microsoft Windows Background Intelligent Transfer Service (BITS) Improper Privilege Management VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.