patchminder
Proof of concept · GitHub CVE-2026-140252

Vulnerabilityin 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.7% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 8.0.0 or later
In plain words

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, during synchronous stream extraction, UnpackSync performs entry work without calling PEND, but inherited nonfatal error handling calls UNPEND after an entry fails. The pending counter becomes negative, so the exactly-zero completion condition is never reached and the stream does not emit end, finish, or close. The default asynchronous API and file-based synchronous API are not affected. This issue is fixed in version 8.0.0.

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

Affected and fixed versions

Product or package
Affected
Fixed in
Source
node-tar
7.5.22 to before 8.0.0
8.0.0
CVE record
tar (npm)
7.5.22 to before 8.0.0
8.0.0
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. 2 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 poc.

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-1402520 stars · created 2 Dec 2026node-tar < 8.0.0 UnpackSync stream hang (CVE-2026-140252, HIGH): a failing entry drives PENDING to -1 so end/finish/close never fire and extraction hangs. Differential from exact upstream logic: vuln

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: Improper locking

All CWE-667 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-140252: Vulnerability in isaacs node-tar. https://patchminder.com/cve/cve-2026-140252/ (accessed 5 December 2026).