tar (npm)

Known vulnerabilities and malicious package reports for tar on npm, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 21 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-3jfq-g458-7qm9: Vulnerability

Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization

Published .

Updated .

Affected ranges: introduced 0, fixed 3.2.2; introduced 4.0.0, fixed 4.4.14; introduced 5.0.0, fixed 5.0.6; introduced 6.0.0, fixed 6.1.1.

Fix versions reported by the advisory: 3.2.2, 4.4.14, 5.0.6, 6.1.1.

Severity: HIGH.

CVE-2021-32804

GHSA-r628-mhmh-qjhw: Vulnerability

Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning

Published .

Updated .

Affected ranges: introduced 3.0.0, fixed 3.2.3; introduced 4.0.0, fixed 4.4.15; introduced 5.0.0, fixed 5.0.7; introduced 6.0.0, fixed 6.1.2.

Fix versions reported by the advisory: 3.2.3, 4.4.15, 5.0.7, 6.1.2.

Severity: HIGH.

CVE-2021-32803

GHSA-gfjr-3jmm-4g9v: Vulnerability

Symlink Arbitrary File Overwrite in tar

Published .

Updated .

Affected ranges: introduced 0, fixed 2.0.0.

Fix versions reported by the advisory: 2.0.0.

Severity: HIGH.

CVE-2015-8860

GHSA-j44m-qm6p-hp7m: Vulnerability

Arbitrary File Overwrite in tar

Published .

Updated .

Affected ranges: introduced 3.0.0, fixed 4.4.2; introduced 0, fixed 2.2.2.

Fix versions reported by the advisory: 4.4.2, 2.2.2.

Severity: HIGH.

CVE-2018-20834

GHSA-qq89-hq3f-393p: Vulnerability

Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links

Published .

Updated .

Affected ranges: introduced 3.0.0, fixed 4.4.18; introduced 5.0.0, fixed 5.0.10; introduced 6.0.0, fixed 6.1.9.

Fix versions reported by the advisory: 4.4.18, 5.0.10, 6.1.9.

Severity: HIGH.

CVE-2021-37712

GHSA-9r2w-394v-53qc: Vulnerability

Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links

Published .

Updated .

Affected ranges: introduced 3.0.0, fixed 4.4.16; introduced 5.0.0, fixed 5.0.8; introduced 6.0.0, fixed 6.1.7.

Fix versions reported by the advisory: 4.4.16, 5.0.8, 6.1.7.

Severity: HIGH.

CVE-2021-37701

GHSA-5955-9wpr-37jh: Vulnerability

Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization

Published .

Updated .

Affected ranges: introduced 0, fixed 4.4.18; introduced 5.0.0, fixed 5.0.10; introduced 6.0.0, fixed 6.1.9.

Fix versions reported by the advisory: 4.4.18, 5.0.10, 6.1.9.

Severity: HIGH.

CVE-2021-37713

GHSA-f5x3-32g6-xq36: Vulnerability

Denial of service while parsing a tar file due to lack of folders count validation

Published .

Updated .

Affected ranges: introduced 0, fixed 6.2.1.

Fix versions reported by the advisory: 6.2.1.

Severity: MEDIUM.

CVE-2024-28863

GHSA-34x7-hfp2-rc4v: Vulnerability

node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.7.

Fix versions reported by the advisory: 7.5.7.

Severity: HIGH.

CVE-2026-24842

GHSA-w8wr-v893-vjvp: Vulnerability

node-tar: Process crash via PAX numeric path type confusion

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.18.

Fix versions reported by the advisory: 7.5.18.

Severity: HIGH.

CVE-2026-59871

GHSA-23hp-3jrh-7fpw: Vulnerability

node-tar: Decompression/parse DoS via unlimited input

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.19.

Fix versions reported by the advisory: 7.5.19.

Severity: HIGH.

CVE-2026-59873

GHSA-8x88-c5mf-7j5w: Vulnerability

node-tar: Negative tar entry size causes infinite loop in archive replace

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.18.

Fix versions reported by the advisory: 7.5.18.

Severity: HIGH.

CVE-2026-59874

GHSA-r292-9mhp-454m: Vulnerability

node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.21.

Fix versions reported by the advisory: 7.5.21.

Severity: HIGH.

CVE-2026-73566

GHSA-gvwx-54wh-qm9j: Vulnerability

node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.17.

Fix versions reported by the advisory: 7.5.17.

Severity: MEDIUM.

CVE-2026-59875

GHSA-qffp-2rhf-9h96: Vulnerability

tar has Hardlink Path Traversal via Drive-Relative Linkpath

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.10.

Fix versions reported by the advisory: 7.5.10.

Severity: MEDIUM.

CVE-2026-29786

GHSA-8qq5-rm4j-mr97: Vulnerability

node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.3.

Fix versions reported by the advisory: 7.5.3.

Severity: MEDIUM.

CVE-2026-23745

GHSA-r6q2-hw4h-h46w: Vulnerability

Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.4.

Fix versions reported by the advisory: 7.5.4.

Severity: MEDIUM.

CVE-2026-23950

GHSA-83g3-92jg-28cx: Vulnerability

Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.8.

Fix versions reported by the advisory: 7.5.8.

Severity: HIGH.

CVE-2026-26960

GHSA-9ppj-qmqm-q256: Vulnerability

node-tar Symlink Path Traversal via Drive-Relative Linkpath

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.11.

Fix versions reported by the advisory: 7.5.11.

Severity: MEDIUM.

CVE-2026-31802

GHSA-vmf3-w455-68vh: Vulnerability

node-tar applies PAX size override to intermediary GNU long-name/long-link headers, causing tar parser interpretation differential (file smuggling)

Published .

Updated .

Affected ranges: introduced 0, fixed 7.5.16.

Fix versions reported by the advisory: 7.5.16.

Severity: MEDIUM.

CVE-2026-53655

GHSA-29xp-372q-xqph: Vulnerability

node-tar has a race condition leading to uninitialized memory exposure

Published .

Updated .

Reported affected releases: 7.5.1.

Affected ranges: introduced 7.5.1, fixed 7.5.2.

Fix versions reported by the advisory: 7.5.2.

Severity: MEDIUM.

CVE-2025-64118

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.