CVE-2026-140234: Vulnerability in Isaacs Node-tar

Patch soon. node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, /\0.*/ truncation stops at \n, \r, U+2028 and U+2029, so NUL bytes survive in ustar, GNU and PAX names: a name differential and an async crash. In async extraction, a name that still contains a NUL reaches fs and throws, which crashes a process that doesn't catch it. With strip, the surviving characters make node-tar's view of the name...

npm, CWE-158

Exploitation
None confirmed
Severity
7.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-wpwg-r92p-fjjh
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Weakness
CWE-158
Published
1 Dec 2026
Last change
2 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Isaacs Node-tar Before 8.0.0; Version < 8.0.0. Fixed in 8.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • tar npm, Affected before 8.0.0. Fixed in 8.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related