Skip to main content
HIGH

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

  • CVE-2026-24842 Red Hat Product Security57 products fixed · 25 known affected

    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

  • RHSA-2026:33371 Red Hat Product Security6 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.3.18 security update

  • RHSA-2026:18868 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: linux-sgx security update

  • RHSA-2026:18480 Red Hat Product Security17 products fixed

    Red Hat Security Advisory: linux-sgx security update

  • RHSA-2026:6192 Red Hat Product Security8 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.27.0 Release.

  • RHSA-2026:5447 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHTAS 1.3.3 - Red Hat Trusted Artifact Signer Release

1 more advisory

Full record on NVD

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?

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.

Is CVE-2026-24842 actively exploited?

A proof-of-concept exploit exists for CVE-2026-24842, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-24842?

CVE-2026-24842 has a CVSS v3 base score of 8.2 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N.

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