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
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.
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.
Thu, Dec 3, 2026
- DetectionTenable 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-r5Tenable
- DetectionTenable Container 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-r5Tenable
Wed, Dec 2, 2026
Tue, Dec 1, 2026
- CVECVE-2026-140237 published (CVSS 6.9)CVE Program · 17:18 UTC
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