CVE-2026-140238

node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged. Direct node-tar extraction without strip can overwrite a path within the extraction target. The npm execution chain additionally requires Windows strip:1 normalization, an overwrite of package.json, and later execution of the injected postinstall script; POSIX npm processing with strip:1 is not affected by that chain. This issue is fixed in version 8.0.0.
CVSS

No CVSS.

Configurations

No configuration.

History

01 Dec 2026, 23:17

Type Values Removed Values Added
References () https://github.com/isaacs/node-tar/security/advisories/GHSA-mpg7-vg3p-wc3m - () https://github.com/isaacs/node-tar/security/advisories/GHSA-mpg7-vg3p-wc3m -

01 Dec 2026, 18:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-12-01 18:17

Updated : 2026-12-01 23:17


NVD link : CVE-2026-140238

Mitre link : CVE-2026-140238

CVE.ORG link : CVE-2026-140238


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')