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

Patch soon. node-tar is a tar archive manipulation library for Node.js. From 7.5.0 until 8.0.0, parseKV splits length-delimited PAX records on newline characters, so a newline inside a record value can drop the original field and turn a trailing fragment into a forged path, size, linkpath, or other entry attribute. Default extraction confines a forged path to the extraction root. When preservePaths is enabled, the forged...

npm, CWE-20, CWE-436

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

Details

Advisory ID
GHSA-rgjp-p5j7-w36x
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Weakness
CWE-20, CWE-436
Published
1 Dec 2026
Last change
5 Dec 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Isaacs Node-tar From 7.5.0, before 8.0.0; Version >= 7.5.0, < 8.0.0. Fixed in 8.0.0

Affected packages

Vulnerable version ranges and fixed releases

  • tar npm, Affected from 7.5.0 before 8.0.0. Fixed in 8.0.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related