Node.js Module node-tar < 7.5.10 Arbitrary File Overwrite

high Nessus Plugin ID 318797

Synopsis

A module in the Node.js JavaScript run-time environment is affected by an arbitrary file overwrite vulnerability.

Description

The version of node-tar installed on the remote host is prior to 7.5.10. It is, therefore, affected by a vulnerability:

- node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10. (CVE-2026-29786)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to node-tar version 7.5.10 or later.

See Also

http://www.nessus.org/u?c9ea8b35

Plugin Details

Severity: High

ID: 318797

File Name: nodejs_module_tar_7_5_10.nasl

Version: 1.1

Type: Local

Agent: windows, macosx, unix

Family: Misc.

Published: 6/5/2026

Updated: 6/5/2026

Configuration: Enable thorough checks (optional)

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:P

CVSS Score Source: CVE-2026-29786

CVSS v3

Risk Factor: High

Base Score: 7.1

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L

Vulnerability Information

CPE: cpe:/a:node-tar_project:node-tar

Required KB Items: Host/nodejs/modules/enumerated

Patch Publication Date: 3/7/2026

Vulnerability Publication Date: 3/7/2026

Reference Information

CVE: CVE-2026-29786

IAVB: 2026-B-0066