node-tar is a tar archive manipulation library for Node.js.
- CVSS
- 7.1High
- Chance of exploitation (EPSS)
- 0.52%
- Published
- Dec 1, 2026
- In the news
- Not yet
What to do
A serious security flaw in Isaacs Node-tar that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Isaacs Node-tar
- >= 7.5.17, < 8.0.0
Description
node-tar is a tar archive manipulation library for Node.js. From 7.5.17 until 8.0.0, during asynchronous extraction, string sanitization removes content after a NUL byte only within the same line. A line terminator followed by a later NUL byte can therefore leave that NUL in a pathname passed to an asynchronous filesystem operation, causing an uncaught exception and process termination. Listing and synchronous extraction do not expose this process-crash behavior. This issue is fixed in version 8.0.0.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-140232 published (CVSS 7.1) (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Tue, Dec 1, 2026
- CVECVE-2026-140232 published (CVSS 7.1)CVE Program · 17:17 UTC
References 3
- github.com /isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237
- github.com /isaacs/node-tar/releases/tag/v8.0.0
- github.com /isaacs/node-tar/security/advisories/GHSA-xv7h-rgq8-7m7v