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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.