← Vulnerability feed

Vulnerability record · CVE-2018-20834 · published 30 April 2019

CVE-2018-20834: Isaacs tar link following vulnerability

Isaacs · Tar

A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content. A patch has been applied to node-tar v2.2.2).

7.5 CVSS 3.0 High EPSS 3.1% · top 12.6% CWE-59 · Link following
7.5CVSS 3.0 base score, v2 6.4
3.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content. A patch has been applied to node-tar v2.2.2).

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2018-20834 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.2CVE-2026-59873Isaacs tar allocation without limits vulnerabilitynode-tar is a tar archive manipulation library for Node.js. Prior to 7.5.19, node-tar does not enforce hard upper bounds on total decompressed data, …EPSS 0.64%8.7CVE-2026-59874Isaacs tar vulnerabilitynode-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, tar.replace accepts a checksum-valid tar header with a negative base-256…EPSS 0.64%8.2CVE-2026-31802Isaacs tar path traversal vulnerabilitynode-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extrac…EPSS 0.18%8.2CVE-2026-29786Isaacs tar path traversal vulnerabilitynode-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 …EPSS 0.39%8.2CVE-2026-24842Isaacs tar path traversal vulnerabilitynode-tar,a Tar for Node.js, contains a vulnerability in versions prior to 7.5.7 where the security check for hardlink entries uses different path res…EPSS 0.62%8.2CVE-2026-23745Isaacs tar path traversal vulnerabilitynode-tar is a Tar for Node.js. The node-tar library (<= 7.5.2) fails to sanitize the linkpath of Link (hardlink) and SymbolicLink entries when preser…EPSS 0.38%7.5CVE-2026-59871Isaacs tar vulnerabilitynode-tar is a tar archive manipulation library for Node.js. Prior to 7.5.18, node-tar coerces all-digit PAX path and linkpath values in src/pax.ts to…EPSS 0.64%7.1CVE-2026-26960Isaacs tar path traversal vulnerabilitynode-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hard…EPSS 0.20%

Source: NIST National Vulnerability Database (record CVE-2018-20834), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.