Path traversal in tar-fs - CVE-2025-48387

 

Path traversal in tar-fs - CVE-2025-48387

Published: July 3, 2025


Vulnerability identifier: #VU112157
CSH Severity: High
CVSS v4.0: 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/E:U/U:Amber
CVE-ID: CVE-2025-48387
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: mafintosh
Affected software:
tar-fs

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to an issue where an extract can write outside the specified dir with a specific tarball. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


How to mitigate CVE-2025-48387

Install updates from vendor's website.

Sources