Home / CVE-2024-12905
CVE-2024-12905: is it exploited, and which versions of tar-fs are affected and fixed?
CVE-2024-12905 is a link following (a symlink lets an attacker reach other files) vulnerability in tar-fs. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: tar-fs before 1.16.4, tar-fs from 2.0.0 before 2.1.2 and tar-fs from 3.0.0 before 3.0.7 (GitHub advisory GHSA-pq67-2wwv-3xjx). Fixed in 1.16.4, 2.1.2 and 3.0.7 (GitHub advisory GHSA-pq67-2wwv-3xjx). Severity: High (7.5, CVSS 3.1, from seal).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:21 UTC.
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.
From the CVE record by seal, last updated November 3, 2025, 19:29 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 1.16.4, 2.1.2, 3.0.8 |
As the CVE record by seal states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | tar-fs | < 1.16.4 | 1.16.4 | GHSA-pq67-2wwv-3xjx |
| npm | tar-fs | >= 2.0.0, < 2.1.2 | 2.1.2 | GHSA-pq67-2wwv-3xjx |
| npm | tar-fs | >= 3.0.0, < 3.0.7 | 3.0.7 | GHSA-pq67-2wwv-3xjx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 3, 2025. Summary: tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File.
How severe is CVE-2024-12905?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | seal |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-12905 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, March 27, 2025)
- EPSS
- 2.30% probability of exploitation activity in the next 30 days, percentile 83.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-59 Improper Link Resolution Before File Access
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/mafintosh/tar-fs/commit/a1dd7e7c7f4b4a8bd2ab60f513baca573b44e2ed patch
- https://www.seal.security/blog/a-link-to-the-past-uncovering-a-new-vulnerability-in-tar-fs technical-description
- https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html
Who found and reported it?
- @bnbdr (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- December 23, 2024
- Published
- March 27, 2025, 16:25 UTC
- CVE record updated
- November 3, 2025, 19:29 UTC by seal
- NVD
- Deferred, last modified June 17, 2026, 07:00 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:21 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on March 27, 2025?
- Mar 27, 2025CVE-2025-31092 Ninja Team Click to Chat – WP Support All-in-One Floating Widget: cross-site scripting (XSS)
- Mar 27, 2025CVE-2025-2878 Kentico CMS: cross-site scripting (XSS)
- Mar 27, 2025CVE-2025-31101 Vault Group Pty Ltd VaultRE Contact Form 7: cross-site scripting (XSS)
- Mar 27, 2025CVE-2025-2888 AWS tough: comparison Using Wrong Factors
- Mar 27, 2025CVE-2025-2887 AWS tough: comparison Using Wrong Factors
- Mar 27, 2025CVE-2025-2886 AWS tough: always-incorrect control flow
- Mar 27, 2025CVE-2025-2885 AWS tough: improper Validation of Consistency within Input
- Mar 27, 2025CVE-2025-31031 Astoundify Job Colors for WP Job Manager: cross-site scripting (XSS)
Every CVE published on March 27, 2025
Questions about CVE-2024-12905
Is CVE-2024-12905 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 2.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of tar-fs are affected by CVE-2024-12905?
tar-fs before 1.16.4, tar-fs from 2.0.0 before 2.1.2 and tar-fs from 3.0.0 before 3.0.7, per the GitHub advisory GHSA-pq67-2wwv-3xjx. The tables above give every range the sources list.
Which version fixes CVE-2024-12905?
1.16.4, 2.1.2 and 3.0.7, per the GitHub advisory GHSA-pq67-2wwv-3xjx. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-12905?
High (7.5, CVSS 3.1, from seal). The severity table above shows each score with its source.
Where is the official record of CVE-2024-12905?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.