CVE-2026-23745
node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
- State
- Published
- Severity
- 8.2 High
- Published
- Jan 16, 2026
- Updated
- Sep 7, 2026
- Reserved
- Jan 15, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.2 High | 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 | GitHub_M |
| 3.1 | 8.2 High | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
node-tarisaacs |
|
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-8qq5-rm4j-mr97
- https://github.com/isaacs/node-tar/commit/340eb285b6d986e91969a1170d7fe9b0face405e
- https://access.redhat.com/security/cve/CVE-2026-23745vdb-entry
- RHBZ#2430538issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23745.json
- https://access.redhat.com/errata/RHSA-2026:18480vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:18868vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2900vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41928vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:3782vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:19712vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:6192vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2926vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:2144vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.