Skip to content
OpenAdvisories
High · 8.7 CVE-2025-59343 EUVD-2025-31022GHSA-vj76-c3g6-qr5v

tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball

Published Sep 24, 2025 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.

Affected products

VendorProductAffectedFixed
mafintosh tar-fs >= 3.0.0, < 3.1.1, >= 2.0.0, < 2.1.3, < 1.16.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-tar-fs 3.0.9+~cs2.0.4-2 —
Debian 13 node-tar-fs 3.0.9+~cs2.0.4-1+deb13u1 DSA-6013-1
Debian 12 node-tar-fs 2.1.3-0+deb12u2 DSA-6013-1
Debian 11 node-tar-fs 2.1.3-0+deb11u2 DLA-4313-1
ReleasePackageFixed inAdvisory
Ubuntu 25.10 node-tar-fs 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 USN-8367-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS node-tar-fs 2.1.1-6ubuntu0.24.04.1~esm1 USN-8367-1
Ubuntu Pro 22.04 LTS node-tar-fs 2.1.1-6ubuntu0.22.04.1~esm1 USN-8367-1
ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Developer 2 python3.11-django 4.2.25-1.el8ap RHSA-2025:19201, RHSA-2025:18979
Red Hat Ansible Automation Platform 2 automation-eda-controller +4 1.2.1-1.el9ap RHSA-2025:19201
Red Hat Ansible Automation Platform 2 automation-gateway +2 2.5.20251022-1.el8ap RHSA-2025:18979
Red Hat Ansible Automation Platform 2 automation-platform-ui 2.6.2-1.el9ap RHSA-2025:19201
Red Hat Ansible Automation Platform 2 python3.11-django 4.2.25-1.el8ap RHSA-2025:19201, RHSA-2025:18979
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tree-sitter-ruby 0.23.1-2.1 openSUSE-SU-2025:15582-1
openSUSE Leap 16.0 tree-sitter-ruby 0.23.1-160000.3.1 openSUSE-SU-2026:20998-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling code-server 4.105.1-r1 —
Wolfi rolling grafana-image-renderer 4.0.15-r2 —
Wolfi rolling sqlpad +1 7.5.7-r1 —
Wolfi rolling tileserver-gl +1 5.4.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm tar-fs >= 3.0.0, < 3.1.1 3.1.1 GHSA-vj76-c3g6-qr5v
npm tar-fs >= 2.0.0, < 2.1.4 2.1.4 GHSA-vj76-c3g6-qr5v
npm tar-fs < 1.16.6 1.16.6 GHSA-vj76-c3g6-qr5v

Advisories 11

References