CVE-2026-24842
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
CVSS v3
8.2
HIGH
EPSS Score
0.6 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
poc
SSVC status
Get an alert for each new CVE published for tar. Watch tar in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- tarnpmall versions · fixed in 7.5.7
- sgx-pccsAlmaLinux:10all versions · fixed in 2.26-7.el10and 6 other packages
- sgx-pccsAlmaLinux:9all versions · fixed in 2.26-7.el9and 6 other packages
Vendor advisories
node-tar: tar: node-tar: Arbitrary file creation via path traversal bypass in hardlink security check
openshift-logging/elasticsearch-operator-bundle as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/elasticsearch-proxy-rhel9 as a component of Logging Subsystem for Red Hat OpenShift · openshift-logging/elasticsearch-rhel9-operator as a component of Logging Subsystem for Red Hat OpenShift
Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.18 security update
Red Hat Security Advisory: linux-sgx security update
Red Hat Security Advisory: linux-sgx security update
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.27.0 Release.
Red Hat Security Advisory: RHTAS 1.3.3 - Red Hat Trusted Artifact Signer Release
1 more advisory
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.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- Published
- 2026-01-28
- Last Modified
- 2026-02-02
Frequently asked questions
What is CVE-2026-24842?
Is CVE-2026-24842 actively exploited?
What is the CVSS score for CVE-2026-24842?
Running tar? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.