CVE-2026-140239: Vulnerability in Isaacs Node-tar
Patch soon. node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create paths or symlinks outside their intended directory, resulting in arbitrary file read or write. Node-tar's own tar.x and...
npm, CWE-20, CWE-345
- Exploitation
- None confirmed
- Severity
- 7.2 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-ffhw-4r4q-5cwv
- 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-345
- Published
- 1 Dec 2026
- Last change
- 5 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
- github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237
- github.com/isaacs/node-tar/releases/tag/v8.0.0
Related
- Node-tar vulnerabilities Recent advisories, watch this product