Breach Watch
HighVulnerability2 December 2026

node-tar gets 15 High severity CVEs, including symlink escapes during archive extraction

Fifteen CVEs were published on 1 December for node-tar, the npm tar package, all rated High under CVSS 4.0 (7.1 to 7.2). Most let a crafted tarball create symlinks that point outside the extraction directory, while others allow entry attribute forgery, resource exhaustion, crashes and hangs.

Get each new story by email

We will email you to confirm. Unsubscribe from any email. Privacy policy

What happened

CVE-2026-140238 to CVE-2026-140252 were published for node-tar, a tar archive library for Node.js, with CVSS 4.0 scores of 7.1 or 7.2.

Several flaws let a malicious archive extracted with tar.x() create symbolic links that resolve outside the extraction directory, for example through a trailing dot segment in the entry path, nested or chained symlinks, or backslash separators. An application that then reads or writes the extracted files can be pointed at arbitrary files.

Other flaws allow PAX header injection that forges entry attributes, memory or CPU exhaustion from a small archive, uncaught exceptions that crash the process, and extraction that deadlocks or never completes.

What’s affected

  • Applications and pipelines that extract untrusted tarballs with node-tar before 8.0.0
  • Some flaws affect only 7.5.5 or 7.5.22 onwards
  • The memory and CPU exhaustion flaw, CVE-2026-140240, affects versions before 8.0.2

What to do

  1. 01Upgrade the tar package to 8.0.2 or later, including transitive copies in dependency trees
  2. 02Test before rolling out, as 8.0.0 is a major release
  3. 03Until upgraded, avoid extracting untrusted archives with node-tar

This report summarises public reporting and was checked against at least two sources before it was published. Even so, there is a very small possibility that a detail is incorrect or has changed since. If something here is wrong, tell us.