cve.bz

CVE-2025-59343

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.6, 2.1.4, 3.1.1.

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on 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 46% of CVEs (scores of 2026-11-01)
CWEs
CWE-22, CWE-61
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vj76-c3g6-qr5vnpmtar-fs>=3.0.0 <3.1.13.1.1
GHSA-vj76-c3g6-qr5vnpmtar-fs>=2.0.0 <2.1.42.1.4
GHSA-vj76-c3g6-qr5vnpmtar-fs<1.16.61.16.6

References

Check your stackJSON