Home › Vulnerabilities › isaacs
node-tar batch: seven high-severity flaws in archive handling, fixed in version 8.0.0
NVD published seven high-severity node-tar vulnerabilities on 2026-12-01, covering memory exhaustion, process crashes and a filter bypass. Every record says the issue is fixed in version 8.0.0, and the records state no workaround.
What to look into
- 7 vulnerabilities in isaacs node-tar: 7 high (CVSS up to 7.2).
- None of them is known to be exploited yet.
- Start with CVE-2026-140233 (7.2 high): node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, an application that repacks attacker-controlled tar input through the documented archive-file input feature route… An attacker without an account can exploit this over the network if a user views or visits something.
- 7 of 7 can be attacked over the network without logging in.
- Kinds of flaws: Uncontrolled Resource Consumption (×3); Allocation of Resources Without Limits or Throttling (×2); Inefficient Algorithmic Complexity (×2); Interpretation Conflict.
Key points
- All seven CVEs are rated HIGH and are fixed in node-tar 8.0.0.
- CVE-2026-140233 (CVSS 7.2) is the highest-scored entry and allows a filter bypass when repacking untrusted archives.
- Four records describe memory exhaustion, and three of those involve quadratic PathReservations.getDirs() allocation from deeply nested linkpaths.
- CVE-2026-140232 can crash asynchronous extraction through a NUL byte left in a pathname.
- The records state no known exploitation and no workaround.
Resource exhaustion from crafted archives
Four records describe denial-of-service conditions. CVE-2026-140231 says that, before 8.0.0, decompression within the ratio limit is buffered in memory without backpressure and zero-size entries queue without bound, so a service that extracts or lists untrusted compressed archives can use much more memory than the archive size suggests. CVE-2026-140229 says Node's zlib can materialize inflated output before maxDecompressionRatio is evaluated, so the guard sees an allocation that has already happened.
Deeply nested link paths
CVE-2026-140118, CVE-2026-140119 and CVE-2026-140230 all involve PathReservations.getDirs(), which the records describe as a quadratic allocation over ancestor prefixes. According to the records, this can exhaust the Node.js heap and terminate the process. CVE-2026-140118 and CVE-2026-140119 apply to asynchronous extraction on POSIX or non-Windows hosts, and CVE-2026-140119 says synchronous extraction is not affected. CVE-2026-140230 reports that a shallow entry path with a deeply nested linkpath bypasses the maxDepth guard, so a small archive can trigger it.
Crash from NUL bytes in pathnames
CVE-2026-140232 covers versions from 7.5.17 until 8.0.0. During asynchronous extraction, a NUL byte after a line terminator can remain in a pathname passed to a filesystem call, causing an uncaught exception. The record says listing and synchronous extraction do not expose this crash.
Filter bypass with conflicting PAX sizes
CVE-2026-140233 has the highest CVSS score in the batch (7.2). From 7.5.22 until 8.0.0, conflicting local and global PAX size values can make body bytes appear as an extra output member that an entry filter never inspected. The record limits this to applications that repack attacker-controlled input through the archive-file input feature and rely on a filter or inspection step. It states that ordinary extraction is not the claimed bypass surface.
The records do not state whether any of these flaws is being exploited, and none gives a workaround.
What to do
- Upgrade node-tar to version 8.0.0, the fixed version named in all seven records.
- Prioritise services that extract, list or repack untrusted archives, especially any that rely on entry filters for repacking.
- Where the records scope a flaw to asynchronous or POSIX extraction, check whether your applications use those paths.
The 7 vulnerabilities
- CVE-2026-140233 7.2 node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, an application that repacks attacker-controlled tar input through the documented archive-file input feature route and relies on an entry filter or inspect…
- CVE-2026-140231 7.1 node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, decompression within the ratio limit is buffered in memory without backpressure, and zero-size entries queue without bound. A service that extracts or lists untrus…
- CVE-2026-140118 7.1 node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on POSIX hosts, asynchronous extraction of an attacker-controlled archive with a deeply nested linkpath causes PathReservations.getDirs() to materialize every ance…
- CVE-2026-140229 7.1 node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, when node-tar processes compressed attacker-controlled input, node zlib can materialize the inflated output before maxDecompressionRatio is evaluated. The guard th…
- CVE-2026-140232 7.1 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…
- CVE-2026-140119 7.1 node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, asynchronous Unpack extraction of an attacker-controlled archive with a deeply nested linkpath reaches the quadratic PathReservations.getDirs…
- CVE-2026-140230 7.1 node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, extraction of a crafted archive with a shallow entry path and deeply nested entry.linkpath bypasses the maxDepth guard and drives quadratic PathReservations.getDir…
Frequently asked questions
How many isaacs node-tar vulnerabilities were published on December 1, 2026?
7 vulnerabilities: 7 high, with CVSS scores up to 7.2.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-140233 (CVSS 7.2): node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, an application that repacks attacker-controlled tar input through the documented archive-file input feature route…