Home › CVE › JavaScript
CVE-2026-140246 — isaacs node-tar
One of 25 isaacs node-tar vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWindowsWebOperating systemsVulnerabilitiesSummary
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary filename character. A crafted archive can therefore plant a link inside the extraction directory that resolves to a host path outside it. A later consumer can read through the link, but node-tar does not itself establish an arbitrary-write impact. This issue is fixed in version 8.0.0.
Severity breakdown
High · 7.2
An attacker without an account can exploit this over the network if a user views or visits something.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- none
- Login needed
- no
- User action needed
- yes, a user must view or visit something
- Impact
- high on integrity, low on confidentiality and availability
- Impact on other systems
- none
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-59: Improper Link Resolution Before File Access ('Link Following')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| isaacs node-tar | < 8.0.0 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- isaacs node-tar
What to do
- Check whether you run an affected product or version and apply the vendor's update or mitigation.
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-140246?
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary filename character. Weakness type: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE-22).
How severe is CVE-2026-140246?
CVE-2026-140246 has a CVSS 4.0 base score of 7.2 (high), from the CNA (github.com). An attacker without an account can exploit this over the network if a user views or visits something.
Is CVE-2026-140246 being exploited?
Not as far as is known: CVE-2026-140246 is not in CISA's Known Exploited Vulnerabilities catalog as of December 1, 2026.
Which versions are affected by CVE-2026-140246?
isaacs node-tar < 8.0.0.
How do I fix CVE-2026-140246?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.