Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-140237
Published:December 01, 2026
Updated:December 02, 2026
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 Packages
https://github.com/isaacs/node-tar.git (GITHUB):
Affected version(s) >=v7.0.0 <v8.0.0
Fix Suggestion:
Update to version v8.0.0
tar (NPM):
Affected version(s) >=7.0.0 <8.0.0
Fix Suggestion:
Update to version 8.0.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.9
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.2
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Interpretation Conflict