Skip to main content
CVE-2026-140251VulnerabilityPublished

node-tar async extraction deadlocks permanently when an entry's linkpath is a hierarchical relative of its own path

Affects tarSource GCVE Database

0
Compare
Authoritative record:CVE-2026-140251· High 7.1

Not known to be exploited · CVSS 7.1 High : upgrade to 8.0.0 soon.

Data as of 2 Dec 2026, 02:50 UTC

CVSS 4.0 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.07.1
Patch
Available – fixed in 8.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.

What to do

Upgrade tar to 8.0.0.

Affected software

ProductAffectedFixed in
npmtarAffected
  • >=7.5.22 <8.0.0
Fixed in
  • 8.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in node-tar version 8.0.0. Users and maintainers should upgrade to version 8.0.0 or later to resolve this denial of service vulnerability. Synchronous extraction is not affected. Windows users are not impacted due to different path reservation handling. No additional mitigation steps are required beyond applying the official fix.

Description

A denial of service vulnerability in node-tar's asynchronous extraction allows a crafted tar archive to cause a permanent hang. This occurs when a Link or SymbolicLink entry's linkpath is a hierarchical relative (ancestor or descendant) of its own path, causing an internal path-reservation queue deadlock. The extraction promise never resolves or rejects, no warnings are emitted, and subsequent entries are skipped silently. This affects node-tar versions from 7.5.22 up to but not including 8.0.0 on POSIX systems. Windows is unaffected. The issue is fixed in version 8.0.0.

References

Community reviews

Loading reviews…