CVE-2026-140237

MediumCVSS 6.9/10Last modified Dec 1, 2026

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.

Metrics

CVSS 4.0 6.9/10CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness enumeration

Affected software

VendorProductVersions
isaacsnode-tar>= 7.0.0, < 8.0.0

References

Timeline

Published
Dec 1, 2026
Last modified
Dec 1, 2026
NVD status
Deferred

Related CVEs from 2026

CVE-2026-1402387.2node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attackeCVE-2026-1402397.2node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate enCVE-2026-140248.8Use after free in Ozone in Google Chrome on Linux prior to 150.0.7871.47 allowed a remote attacker who convinced a user to engage in specifiCVE-2026-1402407.1node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.2, a small crafted archive can exhaust memory or CPU through severaCVE-2026-1402417.1node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar fails to handle an exception when automaticallCVE-2026-1402427.1node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validationCVE-2026-1402437.2node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, there is a symlink escape from the extraction directory CVE-2026-1402447.2node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, the STRIPABSOLUTEPATH linkpath containment check uses path.resolCVE-2026-1402457.2node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths endiCVE-2026-1402467.2node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-stCVE-2026-1402477.2node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a crafted archive can create a SymbolicLink inside the extractioCVE-2026-1402487.2node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, with preservePaths disabled, a crafted archive can firs
CVE-2026-140237: Medium severity, CVSS 6.9 | Vulnix