Skip to main content
VulnerabilityPublished

CVE-2026-140237: node-tar · ReadEntry pending PAX size reapplication permits metadata-body file smuggling

Affects tarSource GCVE Database

0
Compare
Authoritative record:CVE-2026-140237· Medium 6.9

Not known to be exploited · CVSS 6.9 Medium : upgrade to 8.0.0 when convenient.

Data as of 2 Dec 2026, 02:49 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.9
Patch
Available – fixed in 8.0.0
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 1 Dec 2026.

What to do

Upgrade tar to 8.0.0.

Affected software

ProductAffectedFixed in
npmtarAffected
  • >=7.0.0 <8.0.0
Fixed in
  • 8.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in node-tar version 8.0.0. Users should upgrade to this version or later to remediate the vulnerability. Until upgrading, be cautious when processing untrusted tar archives with node-tar 7.x. No vendor advisory states that no action is required or that the issue is mitigated otherwise.

Description

A vulnerability in node-tar versions 7.0.0 through 7.5.22 allows crafted tar archives with consecutive PAX headers to cause node-tar to interpret metadata blocks as real filesystem entries. This can lead to hidden files being extracted or existing files truncated, bypassing archive member inspection and allowlists. The issue is fixed in version 8.0.0.

References

Community reviews

Loading reviews…