Microsoft · node-tar: Newline injection
Affects MicrosoftSource GCVE Database
Not known to be exploited · CVSS 7.2 High : upgrade to 8.0.0 soon.
Data as of 3 Dec 2026, 10:33 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.2 |
|---|
- Patch
- Available – fixed in 8.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 1 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade tar to 8.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmtarpkg:npm/tarOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid processing untrusted tar archives with node-tar version 4.0 or apply manual validation of archive contents to prevent path overwrite attacks.
Description
CVE-2026-140238 is a vulnerability in node-tar version 4.0 involving newline injection in PAX extended-header records. This flaw allows an attacker to forge entry attributes, potentially overwriting file paths during archive extraction. The vulnerability is categorized under CWE-22, which relates to path traversal issues. No CVSS score or exploit in the wild is currently reported.