Exploit database

Vulnerability

CVE-2026-23745

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

Vulnerability details

Score
8.2
Severity
high

CVSS 4.0 · GitHub_M

Vector string

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N

Description

node-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 preservePaths is false (the default secure behavior). This allows malicious archives to bypass the extraction root restriction, leading to Arbitrary File Overwrite via hardlinks and Symlink Poisoning via absolute symlink targets. This vulnerability is fixed in 7.5.3.

CVE Program

Exploit source choices

2 sources
jvr2022/cve-2026-23745
GH-ee8210376f30790d4f1261e674f58baeGitHubUnofficial GitHub sourcePreferred

Proof of Concept for CVE-2026-23745: Arbitrary File Overwrite vulnerability in node-tar (versions < 7.5.3).

2026-01-172 files · 23 stars
ondrejdrapalik/node-tar-cve-demo
GH-ce923d7001b670de489940377274bce1GitHubUnofficial GitHub source

Mirror of isaacs/node-tar pinned at 8bb83f7 — the commit before the CVE-2026-23745 fix. Demo target for autonomous vulnerability patching. Do not install from here; use node-tar 7.5.3+.

2026-08-11262 files · 1 stars