Lucene search
K

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

🗓️ 05 Jun 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 3 Views

Node-tar before 7.5.10 allows file overwrite via drive-relative links during extraction; fixed in 7.5.10.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(318797);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/06/05");

  script_cve_id("CVE-2026-29786");
  script_xref(name:"IAVB", value:"2026-B-0066");

  script_name(english:"Node.js Module node-tar < 7.5.10 Arbitrary File Overwrite");

  script_set_attribute(attribute:"synopsis", value:
"A module in the Node.js JavaScript run-time environment is affected by an arbitrary file overwrite vulnerability.");
  script_set_attribute(attribute:"description", value:
"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.");
  # https://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c9ea8b35");
  script_set_attribute(attribute:"solution", value:
"Upgrade to node-tar version 7.5.10 or later.");
  script_set_attribute(attribute:"agent", value:"all");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:P");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:L");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2026-29786");

  script_set_attribute(attribute:"vuln_publication_date", value:"2026/03/07");
  script_set_attribute(attribute:"patch_publication_date", value:"2026/03/07");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/06/05");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"asset_categories", value:"component");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:node-tar_project:node-tar");
  script_set_attribute(attribute:"stig_severity", value:"I");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("nodejs_modules_win_installed.nbin", "nodejs_modules_linux_installed.nbin", "nodejs_modules_mac_installed.nbin");
  script_require_keys("Host/nodejs/modules/enumerated");

  exit(0);
}

include('vcf_extras_nodejs.inc');

var app_info = vcf_extras::nodejs_modules::get_app_info(app:'tar');

if (empty_or_null(app_info))
  audit(AUDIT_NOT_INST, 'tar');

vcf::check_all_backporting(app_info:app_info);

var constraints = [
  { 'min_version' : '7.0.0', 'fixed_version' : '7.5.10' }
];
vcf::check_version_and_report(app_info:app_info, constraints:constraints, severity:SECURITY_WARNING);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Jun 2026 00:00Current
5.5Medium risk
Vulners AI Score5.5
CVSS 3.16.3
CVSS 48.2
EPSS0.00009
SSVC
3