7.2

CVE-2026-140238: node-tar: Newline injection in PAX extended-header records enables entry-attribute forgery (path overwrite → npm postinstall RCE on Windows)

Deferred
AliasesGHSA-mpg7-vg3p-wc3mCGA-4r6j-g4x2-wxw9CGA-jjmq-q8vv-6cx6
Published 01-12-2026Last modified 01-12-2026

Vulnerability summary

CVE-2026-140238 is a high (CVSS 7.2) vulnerability in isaacs node-tar. EPSS estimates a 1.17% chance of exploitation in the next 30 days, higher than 68.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.2, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.2/10
010
High · v4.0 (CVE.org)
EPSS score
1.17%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 01-12-2026
    PublishedVulnerability first disclosed.
  2. 01-12-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 6 sources · 1 version

EPSS trend

Probability

1.17%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

02-12-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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)
  • browsertime< 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
Npm1 product
  • tar< 8.0.0
Ubuntu1 product
  • node-tarAll versions (No fix recorded)

6 vendors · 99 products

References

9 links