PoC Monitor
← All CVEs
CVE-2026-140238published 1 Dec 2026 17:21 UTCData: JSON · API

Isaacs node-tar

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

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.

First public PoC 22 hafter publication · 2 Dec 2026
Public PoCs11 on GitHub
CVSS7.2high · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

isaacs node-tar
  • < 8.0.0

Fixed in 8.0.0

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published1 Dec 2026 · t = 0First public PoC2 Dec 2026 · t+22h

First public PoC 22 h after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-140238 (created 2 Dec 2026, found by us: 2 Dec 2026).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedFound by usStarsAssessment
googlesky/CVE-2026-140238 2 Dec 2026 +22 h 2 Dec 2026 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.