CVE-2026-140236
Published:December 01, 2026
Updated:December 02, 2026
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, ReadEntry still applies PAX size values to GNU and PAX metadata entries, causing node-tar to frame archive bodies differently from other tar implementations. Related inconsistencies can bypass maxMetaEntrySize and reverse local-versus-global PAX precedence. The output-archive variant requires the archive-file input repacking feature or Pack.add(ReadEntry); a mismatch between the declared header size and copied body bytes can create additional members in the output archive. Ordinary creation from filesystem inputs is not that repacking surface. This issue is fixed in version 8.0.0.
Affected Packages
https://github.com/isaacs/node-tar.git (GITHUB):
Affected version(s) >=0.1.0 <v8.0.0 || >=v0.1.14 <v8.0.0 || >=v1.0.0 <v8.0.0 || >=v2.0.0 <v8.0.0 || >=v3.0.0 <v8.0.0 || >=v4.0.0 <v8.0.0 || >=v5.0.0 <v8.0.0 || >=v6.0.0 <v8.0.0 || >=v7.0.0 <v8.0.0Fix Suggestion:
Update to version v8.0.0tar (NPM):
Affected version(s) >=0.0.1 <8.0.0Fix Suggestion:
Update to version 8.0.0tar (NPM):
Affected version(s) >=1.0.0 <8.0.0 || >=7.0.0 <8.0.0 || >=2.0.0 <8.0.0 || >=6.0.0 <8.0.0 || >=3.0.0 <8.0.0 || >=0.0.1 <8.0.0 || >=4.0.0 <8.0.0 || >=5.0.0 <8.0.0Fix Suggestion:
Update to version 8.0.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
LOW
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
Interpretation Conflict
EPSS
Base Score:
0.69