CVE-2025-48387

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

HIGH
8.7
CVSS Score
Published: June 2, 2025 at 07:20 PM UTC
Updated: June 17, 2026 at 09:29 AM UTC
1 product affected across 1 vendorTar Fs

Using tar-fs by mafintosh?

Get instant alerts when new vulnerabilities affect tar-fs - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.7
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.16.5v < 2.1.3v < 3.0.9
Affected range stops below 1.16.5, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.1.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.0.9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.7HIGHGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card