Vulnerability
CVE-2025-48387
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.
75 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-62236
CVE-2025-48387 affecting package reaper for versions less than 3.1.1-19
- CGA-2j4x-9wq6-h3r2
- CGA-2p83-gvp6-8hgm
- CGA-3rc6-42g3-vmcw
- CGA-45vr-x754-w48f
- CGA-479w-hmf5-7gg2
- CGA-4g5m-xjg8-wrvr
- CGA-4g9p-x3h3-qmvp
- CGA-4jc5-5h59-r77v
- CGA-4wpg-jpjr-w49v
- CGA-54gq-xxc6-rw7x
- CGA-5829-xqh8-r452
- CGA-6288-564r-63f3
- CGA-645w-fj54-6rjw
- CGA-64cf-pq7f-hmh8
- CGA-665m-w3hw-pg62
- CGA-6699-9g5c-x7jp
- CGA-75q4-v4xq-cfrg
- CGA-76fj-qp97-94w2
- CGA-79vm-p565-xhm5
- CGA-7cx5-rwwh-66px
- CGA-7xq3-w7cw-xvqq
- CGA-87m4-2cqg-9gq3
- CGA-8g2j-fqcj-v9wm
- CGA-8hxg-2pw6-9262
- CGA-9fww-mfvg-gv3w
- CGA-9h52-w28c-ffj4
- CGA-c2vx-7vmx-7fmf
- CGA-c6xm-46vm-pjvc
- CGA-cf8h-p4c7-9q69
- CGA-cvp7-c7jx-7q8p
- CGA-f88p-7hcf-jfj7
- CGA-fv6m-xp44-jhvx
- CGA-g38p-22mq-2g32
- CGA-g4vr-prwq-m2p3
- CGA-hg57-59j8-j2r6
- CGA-hgqm-8mq8-cwj4
- CGA-hv4w-r5vh-p5g7
- CGA-hxm3-45c8-22m2
- CGA-j7qg-rpx6-cp9m
- CGA-j8jh-f9vj-49hh
- CGA-jcwx-65vf-j296
- CGA-jj55-79h6-j79q
- CGA-jqjm-86jx-rx2h
- CGA-jvcg-3cph-fr98
- CGA-jvrp-hp9r-8m85
- CGA-mgvq-w829-cxmg
- CGA-p6wv-3gcf-r3fv
- CGA-p8w9-pg2v-r789
- CGA-pm33-9wrp-5428
- CGA-pm5j-8x3r-7563
- CGA-qf67-pw9x-rq26
- CGA-qhr2-v97x-gx47
- CGA-r236-656g-7cxv
- CGA-r2wc-hfw3-h5pg
- CGA-r372-mgxp-pxpr
- CGA-rprp-4p49-cjxf
- CGA-rvxp-4f22-c74j
- CGA-v25h-cwh3-6r8j
- CGA-vg75-vgcw-6h67
- CGA-vpjg-8735-jh8f
- CGA-vqq7-3wrx-mw7m
- CGA-w85v-jxrp-rc39
- CGA-wmpg-3gxv-6wwq
- CGA-wq9p-wwcw-r3hw
- CGA-wvx8-c27x-2fjq
- CGA-x2pr-r998-83pg
- CGA-x992-8cvm-gh8q
- CGA-x9ch-5x9p-c687
- CGA-xgf7-v3mp-rw7j
-
DEBIAN-CVE-2025-48387
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…
-
DLA-4214-1
node-tar-fs - security update
-
GHSA-8cj5-5rvv-wf4v
tar-fs can extract outside the specified dir with a specific tarball
-
UBUNTU-CVE-2025-48387
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…
-
USN-8367-1
node-tar-fs vulnerabilities
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