CVE-2026-140235: node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, causing record dropping and forged-field injection
Vulnerability summary
CVE-2026-140235 is a high (CVSS 7.2) Improper Input Validation vulnerability in isaacs node-tar. EPSS estimates a 0.83% chance of exploitation in the next 30 days, higher than 58.7% of scored vulnerabilities.
Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 01-12-2026PublishedVulnerability first disclosed.
- 05-12-2026Last modifiedVulnerability information updated.
Description
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 path may instead be absolute or contain a parent-directory component. This issue is fixed in version 8.0.0.
CVSS metrics
6 scores · 6 sources · 1 version- NVDNIST7.2HighCVSS: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
- OSV · NpmEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · DebianEcosystem advisory · calculated7.2HighCVSS: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
- OSV · WolfiEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.2HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
EPSS trend
Probability
0.83%
Chance of exploitation in the next 30 days
Percentile
59%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-436Interpretation ConflictProduct A handles inputs or steps differently than Product B, which causes A to perform incorrect actions based on its perception of B's state.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard73 products
- actions-runnerAll versions (No fix recorded)
- browsertimeAll versions (No fix recorded) | < 29.5.1-r1
- cdxgen-slimAll versions (No fix recorded)
- code-serverAll versions (No fix recorded)
- cubejsAll versions (No fix recorded)
Wolfi22 products
- code-serverAll versions (No fix recorded)
- lernaAll versions (No fix recorded)
- node-gypAll versions (No fix recorded)
- npm-12All versions (No fix recorded)
- opensearch-dashboards-3All versions (No fix recorded)
Debian1 product
- node-tarAll versions (No fix recorded)
Isaacs1 product
- node-tar≥ 7.5.0, < 8.0.0
Npm1 product
- tar≥ 7.5.0, < 8.0.0
Ubuntu1 product
- node-tarAll versions (No fix recorded)
6 vendors · 99 products
References
9 links- github.com/isaacs/node-tar/security/advisories/GHSA-rgjp-p5j7-w36xX Refsource CONFIRMWEBAdvisoryREPORT
- github.com/isaacs/node-tar/commit/f351e5b4a8916bc8c8f821d0ad926a17d26ea237X Refsource MISCWEBFIXREPORT
- github.com/isaacs/node-tarPACKAGE