Patch Ticker
EnglishEN
Elevated

node-tar async extraction and file escape flaws

CVE-2026-140233 and 23 more

The node-tar tool that unpacks files can be stalled, or files can be spied on or changed.

CVE
CVE-2026-140233 and 23 more
Score
CVSS 7.2 · CVE-2026-140233
First seen
7.2
Products
Disclosed together Windows macOS Linux node-tar

Mitigation

Update node-tar to 8.0.0 or later. If you cannot update now, switching to the synchronous extraction option sync: true avoids the async-path stall flaws (CVE-2026-140118, CVE-2026-140119, CVE-2026-140230), but does not block the other flaws.

Can't update yet?

Add this line to the config file:

sync: true

A wrong setting can stop the service or lock you out. Check the source links below first.

Summary

Several flaws were confirmed in node-tar's async extraction and compressed input handling. The gravest lets an attacker add members that a filter never inspects, and the same fixed release also fixes extraction-time process stalls and symlink escapes.

Exploit code is public

Affected when

  • CVE-2026-140233 repacks archive input through the archive-file feature with an entry filter
  • CVE-2026-140235, CVE-2026-140238 parses PAX extended headers
  • CVE-2026-140243, CVE-2026-140245, CVE-2026-140249 another program reads or writes the extracted files
  • CVE-2026-140118, CVE-2026-140119 uses the default async extraction API on POSIX hosts
  • CVE-2026-140229 processes compressed input with tar
  • CVE-2026-140230 processes archives with a shallow path and a deep linkpath

2 other Incidents of this product in the last 30 days

Incidents by product: node-tar

Other recent Incidents of node-tar

All Incidents of 2026-12-02

Distribution packages (2) (every link below opens in a new tab)

Sources: Debian Security Tracker

24 CVEs (every link below opens in a new tab)

Read the advisory · github.com (opens in a new tab)

Each of the 24 CVEs (every link below opens in a new tab)

Show 21 more