Skip to main content
HIGH

CVE-2024-12905

CVSS v3

7.5

HIGH

EPSS Score

2.3 %

exploit probability, as of 2026-10-19

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for tar-fs.

Set up CVE WatchFree 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

  • tar-fsnpmfrom 3.0.0 · fixed in 3.0.7

Vendor advisories

  • CVE-2024-12905 Red Hat Product Security48 products fixed · 83 known affected

    tar-fs: link following and path traversal via maliciously crafted tar file

    ceph-base as a component of Red Hat Ceph Storage 7 · ceph-common as a component of Red Hat Ceph Storage 7 · ceph-fuse as a component of Red Hat Ceph Storage 7

  • RHSA-2026:33154 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage

  • RHSA-2025:8540 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.5.2 release.

  • RHSA-2025:8244 Red Hat Product Security40 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.21.0 release

  • RHSA-2025:7626 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Developer Hub 1.6.0 release.

  • RHSA-2025:3932 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.20.0 release

Full record on NVD

Description

An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package. This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.

Technical details

Published
2025-03-27
Exploit-DB
EDB-52268

Frequently asked questions

What is CVE-2024-12905?

An Improper Link Resolution Before File Access ("Link Following") and Improper Limitation of a Pathname to a Restricted Directory ("Path Traversal"). This vulnerability occurs when extracting a maliciously crafted tar file, which can result in unauthorized file writes or overwrites outside the intended extraction directory. The issue is associated with index.js in the tar-fs package. This issue affects tar-fs: from 0.0.0 before 1.16.4, from 2.0.0 before 2.1.2, from 3.0.0 before 3.0.8.

Is CVE-2024-12905 actively exploited?

Active exploitation of CVE-2024-12905 has not been confirmed. Its EPSS score was 2.3% on 2026-10-19, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-12905?

CVE-2024-12905 has a CVSS v3 base score of 7.5 (HIGH severity).

Running tar-fs? 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 · No monthly cap on website lookups · 250 API requests/month