# CVE-2026-24842: node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal

> CVE-2026-24842: node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal. CVSS 8.2 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-24842
Last updated: 2026-09-07T13:18:17Z

- Published: 2026-01-28 00:20 UTC · Updated: 2026-09-07 13:18 UTC · Assigner: GitHub\_M
- CVSS: 8.2 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- EPSS: 0.61%, 49th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22, CWE-59

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

## Affected vendors and products

- isaacs: node-tar
- Red Hat: Cryostat 4
- Red Hat: Logging Subsystem for Red Hat OpenShift
- Red Hat: Multicluster Engine for Kubernetes
- Red Hat: Red Hat 3scale API Management Platform 2
- Red Hat: Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat: Red Hat AMQ Broker 7
- Red Hat: Red Hat build of Apache Camel - HawtIO 4
- Red Hat: Red Hat Developer Hub
- Red Hat: Red Hat Enterprise Linux 10
- Red Hat: Red Hat Enterprise Linux 6
- Red Hat: Red Hat Enterprise Linux 7
- Red Hat: Red Hat Enterprise Linux 9
- Red Hat: Red Hat Fuse 7
- Red Hat: Red Hat Hardened Images
- Red Hat: Red Hat JBoss Enterprise Application Platform 7
- Red Hat: Red Hat JBoss Enterprise Application Platform 7.3 EUS for RHEL 7
- Red Hat: Red Hat JBoss Enterprise Application Platform 8
- Red Hat: Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat: Red Hat OpenShift AI (RHOAI)
- Red Hat: Red Hat OpenShift Container Platform 4
- Red Hat: Red Hat Openshift Data Foundation 4
- Red Hat: Red Hat OpenShift Dev Spaces
- Red Hat: Red Hat Process Automation 7
- Red Hat: Red Hat Single Sign-On 7

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-24842)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-24842)
- [https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46](https://github.com/isaacs/node-tar/commit/f4a7aa9bc3d717c987fdf1480ff7a64e87ffdb46)
- [https://github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4v](https://github.com/isaacs/node-tar/security/advisories/GHSA-34x7-hfp2-rc4v)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-24842 · Markdown: https://rewindex.com/cve/CVE-2026-24842.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-24842 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:42.568Z
