CVE-2025-48387 HIGH

CVE-2025-48387: tar-fs has issue where extract can write outside the specified dir with a specific tarball

Vendor Mafintosh
Product tar-fs
Weakness CWE-22 · Path traversal
Published June 2, 2025
Last update November 3, 2025

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 2, 2025 CVE published
November 3, 2025 Record updated

Related vulnerabilities

04Related CVE