Skip to content
Emerging threatsHigh

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

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
ProductAffected versionsFixed in
Azl4 Grafana 10.2.6-27.azl4MicrosoftSee advisoryn/a
tarnpmSee advisory8.0.0
node-tarSee advisory8.0.0

Patched Releases

node-tar

8.0.0

tar

8.0.0

Timeline

  1. Publicly disclosed

    Dec 1, 2026

  2. 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

3 more references in the full CVE brief

FAQ

Common Questions.

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

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.