ZeroDay Brief
CVE-2026-140249

An attacker who supplies a tarball can make tar.x() with default options leave symlinks inside the extraction directory that point to any path on the system. tar itself does not write through them, b…

CVSS
7.2High
Chance of exploitation (EPSS)
0.94%
Published
Dec 1, 2026
In the news
1 story
More from this vendor

What to do

A serious path traversal flaw in Isaacs Node-tar that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Affected versions
Isaacs Node-tar
>= 7.5.5, < 8.0.0

Description

node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink target escapes the extraction directory through an in-archive symlink chain. An attacker who supplies a tarball can make tar.x() with default options leave symlinks inside the extraction directory that point to any path on the system. tar itself does not write through them, but any later read or write of the extracted files by the application follows them: the demonstration overwrites a file outside the extraction directory and resolves a link to /etc/hostname. This gives arbitrary file read and write as the extracting user. This issue is fixed in version 8.0.0.

CWE-22CWE-59

Affected products

Get alerts for these →

Timeline 11

Latest change: Tenable Cloud Security plugin 499022: Chainguard: gemini-cli: security update to 0.72.0-r1gitlab-rails-ce-19.4: security update to 19.4.11-r5gitlab-rails-ce-19.5: security update to 19.5.9-r5 (Dec 2, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Tue, Dec 1, 2026

  1. CVECVE-2026-140249 published (CVSS 7.2)CVE Program · 17:58 UTC

References 3

  • github.com /isaacs/node-tar/security/advisories/GHSA-4pf9-5fpx-xmr6
  • github.com /isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d
  • github.com /isaacs/node-tar/releases/tag/v8.0.0

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”