{"cve":"CVE-2025-48387","nvd":{"published":"2025-06-02T20:15:22.930","modified":"2026-06-17T09:29:35.470","status":"Deferred","description":"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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":null,"cwes":["CWE-22"],"references":["https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3w","https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0f","https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4v","https://lists.debian.org/debian-lts-announce/2025/06/msg00012.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-48387","score":0.00579,"percentile":0.47662,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8cj5-5rvv-wf4v","url":"https://osv.dev/vulnerability/GHSA-8cj5-5rvv-wf4v","summary":"tar-fs can extract outside the specified dir with a specific tarball","modified":"2026-09-10T03:50:24.933003874Z","packages":[{"ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":["<1.16.5"],"fixed":["1.16.5"]},{"ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[">=2.0.0 <2.1.3"],"fixed":["2.1.3"]},{"ecosystem":"npm","name":"tar-fs","purl":"pkg:npm/tar-fs","ranges":[">=3.0.0 <3.0.9"],"fixed":["3.0.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}