patchminder
Proof of concept · GitHub CVE-2026-140240

Denial of servicein isaacs node-tar.

Published 1 Dec 2026 · Updated 1 Dec 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 7.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0 · no login needed
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.9% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 8.0.2 or later
In plain words

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through several path bookkeeping paths. Asynchronous PathReservations performs excessive work for unbounded linkpath depth and long path components, retains completed reservation state, and stores long names in the normalizeUnicode cache whose entry-count limit does not bound bytes. Separately, filesFilter memoizes path prefixes when the caller supplies a file list. This issue is fixed in version 8.0.2.

What to do now
  • Upgrade node-tar to 8.0.2 or later.
  • Upgrade tar (npm) to 8.0.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
node-tar
before 8.0.2
8.0.2
CVE record
tar (npm)
before 8.0.2
8.0.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 Nov 2026
    CVE ID reserved by GitHub_M.
  2. 1 Dec 2026
    Published in the CVE List.
  3. 1 Dec 2026
    CVE record last updated.
  4. 3 Dec 2026
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundgooglesky/CVE-2026-1402400 stars · created 3 Dec 2026node-tar 7.5.22 path reservation amplification (CVE-2026-140240, HIGH): getDirs retains one ancestor-prefix string per path part, so a small archive exhausts memory. Differential with exact upstream i

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other node-tar vulnerabilities

Same weakness: Memory leak

All CWE-401 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-140240: Denial of service in isaacs node-tar. https://patchminder.com/cve/cve-2026-140240/ (accessed 5 December 2026).