ZeroDay Brief
CVE-2026-140237

Applications that inspect attacker-controlled tar archives with a parser that correctly consumes the second PAX metadata body, then extract them with node-tar, can be affected.

CVSS
6.9Medium
Chance of exploitation (EPSS)
0.33%
Published
Dec 1, 2026
In the news
Not yet
More from this vendor

What to do

A moderate security flaw in Isaacs Node-tar that needs access to the machine itself. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Isaacs Node-tar
>= 7.0.0, < 8.0.0

Description

node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 8.0.0, readEntry: pending PAX size reapplication permits metadata-body file smuggling after the 7.5.16 fix. Applications that inspect attacker-controlled tar archives with a parser that correctly consumes the second PAX metadata body, then extract them with node-tar, can be affected. A member absent from the inspected member set is treated by node-tar as a real entry and can create or truncate a file inside the configured extraction directory. This can bypass archive member allowlists, malware scanning, or policy checks when the inspection and extraction layers use different tar implementations. This issue is fixed in version 8.0.0.

CWE-436

Affected products

Get alerts for these →

Timeline 5

Latest change: Tenable Cloud Security plugin 499040: Chainguard: gemini-cli: security update to 0.72.0-r1gitlab-rails-ce-19.4: security update to 19.4.11-r5gitlab-rails-ce-19.5: security update to 19.5.9-r5 (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

References 3

  • github.com /isaacs/node-tar/security/advisories/GHSA-p96f-8xj2-g85p
  • github.com /isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237
  • github.com /isaacs/node-tar/releases/tag/v8.0.0

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”