ZeroDay Brief
CVE-2026-140248

From 7.5.22 until 8.0.0, with preservePaths disabled, a crafted archive can first create an in-root symlink and then create a second SymbolicLink whose linkpath traverses that symlink followed by a p…

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

What to do

A serious security 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.22, < 8.0.0

Description

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, with preservePaths disabled, a crafted archive can first create an in-root symlink and then create a second SymbolicLink whose linkpath traverses that symlink followed by a parent component. STRIPABSOLUTEPATH evaluates the target lexically, while the filesystem follows the first symlink before applying the parent traversal. The resulting link remains inside the extraction tree but points outside it; access outside the root occurs when a later consumer follows the planted link. This issue is fixed in version 8.0.0.

CWE-59

Affected products

Get alerts for these →

Timeline 11

Latest change: Tenable Container Security plugin 498992: Chainguard: gemini-cli: security update to 0.72.0-r1 (Dec 2, 2026)

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

References 4

  • github.com /isaacs/node-tar/commit/23b368128b6cf7d4c26f2e302c0e4a82f70a6e3d
  • github.com /isaacs/node-tar/releases/tag/v8.0.0
  • github.com /isaacs/node-tar/security/advisories/GHSA-6wwr-g865-f46r
  • github.com /isaacs/node-tar/security/advisories/GHSA-6wwr-g865-f46r

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”