CVE-2026-24842: node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
Description
node-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 resolution semantics than the actual hardlink creation logic. This mismatch allows an attacker to craft a malicious TAR archive that bypasses path traversal protections and creates hardlinks to arbitrary files outside the extraction directory. Version 7.5.7 contains a fix for the issue.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N · CWE-22, CWE-59
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
isaacs: node-tarRed Hat: Cryostat 4Red Hat: Logging Subsystem for Red Hat OpenShiftRed Hat: Multicluster Engine for KubernetesRed Hat: Red Hat 3scale API Management Platform 2Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2Red Hat: Red Hat AMQ Broker 7Red Hat: Red Hat build of Apache Camel - HawtIO 4Red Hat: Red Hat Developer HubRed Hat: Red Hat Enterprise Linux 10Red Hat: Red Hat Enterprise Linux 6Red Hat: Red Hat Enterprise Linux 7Red Hat: Red Hat Enterprise Linux 9Red Hat: Red Hat Fuse 7Red Hat: Red Hat Hardened ImagesRed Hat: Red Hat JBoss Enterprise Application Platform 7Red Hat: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7Red Hat: Red Hat JBoss Enterprise Application Platform 8Red Hat: Red Hat JBoss Enterprise Application Platform Expansion PackRed Hat: Red Hat OpenShift AI (RHOAI)Red Hat: Red Hat OpenShift Container Platform 4Red Hat: Red Hat Openshift Data Foundation 4Red Hat: Red Hat OpenShift Dev SpacesRed Hat: Red Hat Process Automation 7Red Hat: Red Hat Single Sign-On 7
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46 (opens in new tab)
- github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4v (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)