Home / mafintosh / tar-fs / CVE-2025-48387
CVE-2025-48387: is it exploited, and which versions of mafintosh tar-fs are affected and fixed?
CVE-2025-48387 is a path traversal (reading or writing files outside the intended folder) vulnerability in mafintosh 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, 14:38 UTC). Affected: tar-fs before 1.16.5, tar-fs from 2.0.0 before 2.1.3 and tar-fs from 3.0.0 before 3.0.9 (GitHub advisory GHSA-8cj5-5rvv-wf4v). Fixed in 1.16.5, 2.1.3 and 3.0.9 (GitHub advisory GHSA-8cj5-5rvv-wf4v). Severity: High (8.7, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:20 UTC.
What is CVE-2025-48387?
tar-fs has issue where extract can write outside the specified dir with a specific tarball
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.
From the CVE record by GitHub_M, last updated November 3, 2025, 20:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| mafintosh | tar-fs | < 1.16.5 >= 2.0.0, < 2.1.3 >= 3.0.0, < 3.0.9 |
As the CVE record by GitHub_M 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.5 | 1.16.5 | GHSA-8cj5-5rvv-wf4v |
| npm | tar-fs | >= 2.0.0, < 2.1.3 | 2.1.3 | GHSA-8cj5-5rvv-wf4v |
| npm | tar-fs | >= 3.0.0, < 3.0.9 | 3.0.9 | GHSA-8cj5-5rvv-wf4v |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 3, 2025. Summary: tar-fs can extract outside the specified dir with a specific tarball.
How severe is CVE-2025-48387?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | GitHub_M |
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-2025-48387 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, June 3, 2025)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v x_refsource_CONFIRM
- https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w x_refsource_MISC
- https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html
When was it published, and where is the official record?
- Reserved
- May 19, 2025
- Published
- June 2, 2025, 19:20 UTC
- CVE record updated
- November 3, 2025, 20:04 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:29 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:20 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect tar-fs?
- Sep 24, 2025CVE-2025-59343 mafintosh tar-fs: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2025-48387
Is CVE-2025-48387 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of mafintosh tar-fs are affected by CVE-2025-48387?
tar-fs before 1.16.5, tar-fs from 2.0.0 before 2.1.3 and tar-fs from 3.0.0 before 3.0.9, per the GitHub advisory GHSA-8cj5-5rvv-wf4v. The tables above give every range the sources list.
Which version fixes CVE-2025-48387?
1.16.5, 2.1.3 and 3.0.9, per the GitHub advisory GHSA-8cj5-5rvv-wf4v. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-48387?
High (8.7, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-48387?
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.