CVE-2026-140245tar Path Traversal
node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'
Published Dec 1, 2026 · Updated Dec 3, 2026 · Also known as EUVD-2026-140451, GHSA-jmj2-9c5q-vw73
Key Facts
Patch in the next maintenance window- CVE-2026-140245 is a high-severity vulnerability (CVSS 7.2 v4) affecting tar (npm), node-tar.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 1.0% probability of exploitation in the next 30 days.
- Fixed versions are available, including node-tar 8.0.0, tar 8.0.0.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
7.2
CVSS: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
EPSS (30-day exploit likelihood)
1.0%
Exploit maturity
Proof of concept
ATLAS score
41/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths ending in '/.'. A crafted archive can create a symlink pointing outside the extraction directory using default options and without any warning. The affected security path includes [STRIPABSOLUTEPATH], linkpath, path.posix.dirname(entry.path). This issue is fixed in version 8.0.0.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| tarnpm | >= 7.5.5 | 8.0.0 |
| node-tar | >= 7.5.5, | 8.0.0 |
Patched Releases
node-tar
8.0.0
tar
8.0.0
Timeline
Publicly disclosed
Dec 1, 2026
Last updated
Dec 3, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-140245
- advisoryGHSA advisory
- othergithub.com · node-tar
- otherhttps://github.com/isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d
FAQ
Common Questions.
node-tar is a tar archive manipulation library for Node.js.
Affected: tar (npm) versions >= 7.5.5; node-tar versions >= 7.5.5,. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including node-tar 8.0.0, tar 8.0.0.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-140245 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo