CVE-2026-140238tar Path Traversal
node-tar: Newline injection in PAX extended-header records enables entry-attribute forgery (path overwrite → npm postinstall RCE on Windows)
Published Dec 1, 2026 · Updated Dec 4, 2026 · Also known as EUVD-2026-140443, GHSA-mpg7-vg3p-wc3m
Key Facts
Patch immediately- CVE-2026-140238 is a high-severity vulnerability (CVSS 7.2 v4) affecting Azl4 Grafana 10.2.6-27.azl4 (Microsoft), tar (npm), node-tar.
- It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
- EPSS estimates a 1.2% probability of exploitation in the next 30 days.
- Fixed versions are available, including node-tar 8.0.0, tar 8.0.0.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v4
7.2
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS (30-day exploit likelihood)
1.2%
Exploit maturity
Proof of concept
ATLAS score
44/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Proof of concept
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2026-140238
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-140238
- advisoryGHSA advisory
- advisoryRelease Notes
Description
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Azl4 Grafana 10.2.6-27.azl4Microsoft | See advisory | n/a |
| tarnpm | See advisory | 8.0.0 |
| node-tar | See advisory | 8.0.0 |
Patched Releases
node-tar
8.0.0
tar
8.0.0
Timeline
Publicly disclosed
Dec 1, 2026
Last updated
Dec 4, 2026
Weakness Type
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- CWE-93 Improper Neutralization of CRLF Sequences
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-140238
- advisoryGHSA advisory
- advisoryRelease Notes
- othergithub.com · node-tar
FAQ
Common Questions.
node-tar is a tar archive manipulation library for Node.js.
Affected: Azl4 Grafana 10.2.6-27.azl4 (Microsoft); tar (npm); node-tar. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
A public exploit is reported by tracking sources, but no code link is listed yet.
Fixed versions are available, including node-tar 8.0.0, tar 8.0.0.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2026-140238 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo