Skip to content
Emerging threatsHigh

CVE-2026-140245tar Path Traversal

node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'

Published Dec 1, 2026 · Updated Dec 3, 2026 · Also known as EUVD-2026-140451, GHSA-jmj2-9c5q-vw73

Key Facts

Patch in the next maintenance window
  • CVE-2026-140245 is a high-severity vulnerability (CVSS 7.2 v4) affecting tar (npm), node-tar.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 1.0% 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 in the next maintenance window, because of its high severity, although no exploitation is known.

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.0%

Exploit maturity

Proof of concept

ATLAS score

41/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. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths ending in '/.'. A crafted archive can create a symlink pointing outside the extraction directory using default options and without any warning. The affected security path includes [STRIPABSOLUTEPATH], linkpath, path.posix.dirname(entry.path). This issue is fixed in version 8.0.0.

Affected Products

2 affected entries in total
ProductAffected versionsFixed in
tarnpm>= 7.5.58.0.0
node-tar>= 7.5.5,8.0.0

Patched Releases

node-tar

8.0.0

tar

8.0.0

Timeline

  1. Publicly disclosed

    Dec 1, 2026

  2. Last updated

    Dec 3, 2026

Weakness Type

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

FAQ

Common Questions.

Is CVE-2026-140245 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.