cve.bz

CVE-2025-48387

8.7 highEPSS 0.6%

High (8.7). EPSS 0.6% chance of exploitation in the next 30 days. Fixed in tar-fs 1.16.5, 2.1.3, 3.0.9.

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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.6% chance of exploitation in the next 30 days; higher than 47% of CVEs (scores of 2026-10-31)
CWE
CWE-22
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8cj5-5rvv-wf4vnpmtar-fs<1.16.51.16.5
GHSA-8cj5-5rvv-wf4vnpmtar-fs>=2.0.0 <2.1.32.1.3
GHSA-8cj5-5rvv-wf4vnpmtar-fs>=3.0.0 <3.0.93.0.9

References

Check your stackJSON