CVE-2025-48387

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

CVE-2025-48387 is fixed in node-tar-fs on 1 platform, first by DEBIAN-CVE-2025-48387, released June 2, 2025. It is not reported as exploited. Patch Radar priority: High.

High
CVSS
8.2
Important
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0058
47th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
node-tar-fs · Debian 12.15 (bookworm) 2.1.3-0+deb12u1 DEBIAN-CVE-2025-48387 Jun 2, 2025
node-tar-fs · Debian 13.5 (trixie) 3.0.9+~cs2.0.4-1 DEBIAN-CVE-2025-48387 Jun 2, 2025
node-tar-fs · Debian 14 3.0.9+~cs2.0.4-1 DEBIAN-CVE-2025-48387 Jun 2, 2025
node-tar-fs · Ubuntu 22.04.1 LTS (jammy) 2.1.1-6ubuntu0.22.04.1~esm1 node-tar-fs 2.1.1-6ubuntu0.22.04.1~esm1 Sep 24, 2025
node-tar-fs · Ubuntu 24.04.5 LTS (noble) 2.1.1-6ubuntu0.24.04.1~esm1 node-tar-fs 2.1.1-6ubuntu0.24.04.1~esm1 Sep 24, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.