CVE catalog

CVE-2025-48387

tar-fs vulnerabilities

[CVE catalog]

Severity
High · CVSS 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.58% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-tar-fssid3.1.2+~cs2.0.4-1fixed
Debiannode-tar-fsforky3.1.2+~cs2.0.4-1fixed
Debiannode-tar-fstrixie3.0.9+~cs2.0.4-1+deb13u1fixed
Debiannode-tar-fstrixie-security3.0.9+~cs2.0.4-1+deb13u1fixed
Debiannode-tar-fsbookworm2.1.3-0+deb12u2fixed
Debiannode-tar-fsbookworm-security2.1.3-0+deb12u2fixed
Ubuntunode-tar-fsnoble2.1.1-6ubuntu0.24.04.1~esm1fixed
Npmtar-fsNot reported3.0.9fixed
Npmtar-fsNot reported2.1.3fixed
Npmtar-fsNot reported3.0.9fixed
Ubuntunode-tar-fspro2.1.1-6vulnerable
Ubuntunode-tar-fspro2.1.1-6ubuntu0.24.04.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-tar-fssourcesid3.0.9+~cs2.0.4-1not yet assignedNot reportedNot reported
Debiannode-tar-fssourceforky3.0.9+~cs2.0.4-1not yet assignedNot reportedNot reported
Debiannode-tar-fssourcetrixie3.0.9+~cs2.0.4-1not yet assignedNot reportedNot reported
Debiannode-tar-fssourcebookworm2.1.3-0+deb12u1not yet assignedNot reportedNot reported
Ubuntunode-tar-fsdebnoble2.1.1-6ubuntu0.24.04.1~esm1Not reportedNot reportedNot reported
Npmtar-fsnpmNot reported3.0.9Not reportedGHSA-8CJ5-5RVV-WF4VNot reported
Npmtar-fsnpmNot reported2.1.3Not reportedNot reportedNot reported
Npmtar-fsnpmNot reported3.0.9Not reportedNot reportedNot reported
Ubuntunode-tar-fsdebpro2.1.1-6ubuntu0.24.04.1~esm1Not reportedUBUNTU-CVE-2025-48387Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (4)
    • 2.1.3-0+deb12u2 · all · bookworm

      Fixed · Fixed: 2.1.3-0+deb12u1

      usn · node-tar-fs · debian · bookworm; usn · node-tar-fs · debian · 12

    • 2.1.3-0+deb12u2 · all · bookworm

      Fixed · Fixed: 2.1.3-0+deb12u1

      usn · node-tar-fs · debian · bookworm; usn · node-tar-fs · debian · 12

    • 2.1.3-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.3-0+deb12u1

      usn · node-tar-fs · debian · bookworm; usn · node-tar-fs · debian · 12

    • 2.1.3-0+deb12u2 · all · bookworm-security

      Fixed · Fixed: 2.1.3-0+deb12u1

      usn · node-tar-fs · debian · bookworm; usn · node-tar-fs · debian · 12

[Debian 13 (Trixie)]

  • Details (4)
    • 3.0.9+~cs2.0.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.0.9+~cs2.0.4-1

      usn · node-tar-fs · debian · 13

    • 3.0.9+~cs2.0.4-1+deb13u1 · all · trixie

      Fixed · Fixed: 3.0.9+~cs2.0.4-1

      usn · node-tar-fs · debian · 13

    • 3.0.9+~cs2.0.4-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.0.9+~cs2.0.4-1

      usn · node-tar-fs · debian · 13

    • 3.0.9+~cs2.0.4-1+deb13u1 · all · trixie-security

      Fixed · Fixed: 3.0.9+~cs2.0.4-1

      usn · node-tar-fs · debian · 13

Observed:

References