Every CVE Search/ Get API key

CVE-2025-59343

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

8.7 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
High
Availability
None

Exploit likelihood

0.58%Up 0.5 points since Sep 25, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.7

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

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.

Record
CVE-2025-59343
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22, CWE-61
Updated
2026-11-02
EUVDEUVD-2025-31022 8.7

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.

Record
EUVD-2025-31022
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-vj76-c3g6-qr5v 8.7

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

Impact

v3.1.0, v2.1.3, v1.16.5 and below

Patches

Has been patched in 3.1.1, 2.1.4, and 1.16.6

Workarounds

You can use the ignore option to ignore non files/directories.

  ignore (_, header) {
    // pass files & directories, ignore e.g. symlinks
    return header.type !== 'file' && header.type !== 'directory'
  }

Credit

Reported by: Mapta / BugBunny_ai

Record
GHSA-vj76-c3g6-qr5v
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22, CWE-61
Updated
2026-11-02
NVD 8.7

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.

Record
CVE-2025-59343
CVSS 4.0
8.7 HighCVSS: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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness
CWE-22, CWE-61
Updated
2026-11-02
OSV 8.7

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

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.

Record
CVE-2025-59343
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22, CWE-61
Updated
2026-11-02
OSVDEBIAN-CVE-2025-59343 8.7

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.

Record
DEBIAN-CVE-2025-59343
CVSS 4.0
8.7 HighCVSS: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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Updated
2026-11-02
Show 11 moreShow less
OSVGHSA-vj76-c3g6-qr5v 8.7

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

Impact

v3.1.0, v2.1.3, v1.16.5 and below

Patches

Has been patched in 3.1.1, 2.1.4, and 1.16.6

Workarounds

You can use the ignore option to ignore non files/directories.

  ignore (_, header) {
    // pass files & directories, ignore e.g. symlinks
    return header.type !== 'file' && header.type !== 'directory'
  }

Credit

Reported by: Mapta / BugBunny_ai

Record
GHSA-vj76-c3g6-qr5v
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Weakness
CWE-22, CWE-61
Updated
2026-11-02
OSVRHSA-2025:18979 8.8

Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update

Record
RHSA-2025:18979
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2025:19201 8.8

Red Hat Security Advisory: Red Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update

Record
RHSA-2025:19201
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2025-59343 7.5

CVE-2025-59343 in tar-fs - Patched by Root

Root has patched CVE-2025-59343 in the tar-fs package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2025-59343
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Updated
2026-11-06
OSVUBUNTU-CVE-2025-59343 8.7

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.

Record
UBUNTU-CVE-2025-59343
CVSS 4.0
8.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Updated
2026-11-02
OSVCLSA-2026-1774484497 No score

TuxCare security update for tar-fs (5 CVEs)

TuxCare rebuilt tar-fs to address 5 CVEs. Fixed in 1.5.1-tuxcare.1.

Record
CLSA-2026-1774484497
Updated
2026-11-02
OSVCLSA-2026-1788560472 No score

TuxCare security update for tar-fs (3 CVEs)

TuxCare rebuilt tar-fs to address 3 CVEs. Fixed in 3.0.4-tuxcare.1.

Record
CLSA-2026-1788560472
Updated
2026-11-02
OSVCLSA-2026-1790963499 No score

TuxCare security update for tar-fs (3 CVEs)

TuxCare rebuilt tar-fs to address 3 CVEs. Fixed in 2.1.1-tuxcare.1.

Record
CLSA-2026-1790963499
Updated
2026-11-02
OSVopenSUSE-SU-2025:15582-1 No score

tree-sitter-ruby-0.23.1-2.1 on GA media

These are all security issues fixed in the tree-sitter-ruby-0.23.1-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15582-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:20998-1 No score

Security update for tree-sitter-ruby

This update for tree-sitter-ruby fixes the following issues

  • CVE-2025-5889: brace-expansion: inefficient regular expression complexity in function expand of file index.js (bsc#1244345).
  • CVE-2025-59343: tar-fs: tar-fs symlink validation bypass (bsc#1250517).

Changes for tree-sitter-ruby:

  • Use correct tree-sitter dirname instead of tree_sitter (bsc#1267461).

  • update to 0.23.1:

  • ci(publish): add attestations and generate parser
  • build: update bindings
  • fix: remove unnecessary empty string usage
  • chore: regenerate
  • ci: update workflows
  • fix(swift): include scanner.c
  • update to 0.23.0:
  • fix(go): correct test
  • fix: handle != operator definition
  • feat: support element references with blocks
  • fix: do not require newline after block comment =end
  • fix: parsing of multiple unicode escapes
  • fix: correct repo url
  • update to 0.21.0:
  • feat: rewrite scanner with array header and regenerate
  • build: update bindings and manifests
  • fix: reverse precedence queries
  • fix: escape braces in regex
  • docs: update badges
  • switch to download_files service
  • add neovim links
  • add license file to package
Record
openSUSE-SU-2026:20998-1
Updated
2026-11-02
OSVUSN-8367-1 No score

node-tar-fs vulnerabilities

It was discovered that tar-fs did not properly limit paths when extracting crafted tar files. An attacker could possibly use this issue to write or overwrite files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-12905)

It was discovered that tar-fs did not properly validate extraction paths for certain crafted tar archives. An attacker could possibly use this issue to write files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-48387)

It was discovered that tar-fs had a symlink validation bypass when extracting crafted tar files. An attacker could possibly use this issue to write files outside the intended extraction directory. (CVE-2025-59343)

Record
USN-8367-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tar-fs
npm
3.0.0 up to 3.1.1
3.1.1
tar-fs
npm
2.0.0 up to 2.1.4
2.1.4
tar-fs
npm
before 1.16.6
1.16.6
tar-fs
TuxCare:npm
From an advisory covering 4 CVEs
1.5.1-tuxcare.0 up to 1.5.1-tuxcare.1, plus listed versions
1.5.1
1.5.1-tuxcare.1
tar-fs
TuxCare:npm
From an advisory covering 3 CVEs
3.0.4-tuxcare.0 up to 3.0.4-tuxcare.1, plus listed versions
3.0.4
3.0.4-tuxcare.1
tar-fs
TuxCare:npm
From an advisory covering 3 CVEs
2.1.1-tuxcare.0 up to 2.1.1-tuxcare.1, plus listed versions
2.1.1
2.1.1-tuxcare.1
node-tar-fs
Debian:12
before 2.1.3-0+deb12u2, plus listed versions
2.1.1-62.1.3-0+deb12u1
2.1.3-0+deb12u2
node-tar-fs
Debian:13
before 3.0.9+~cs2.0.4-1+deb13u1, plus listed versions
3.0.9+~cs2.0.4-1
3.0.9+~cs2.0.4-1+deb13u1
node-tar-fs
Debian:14
before 3.0.9+~cs2.0.4-2, plus listed versions
3.0.9+~cs2.0.4-1
3.0.9+~cs2.0.4-2
node-tar-fs
Debian:11
before 2.1.3-0+deb11u2, plus listed versions
2.1.1-22.1.1-32.1.1-42.1.1-62.1.3-0+deb11u1
2.1.3-0+deb11u2
Show 28 moreShow less
Affected packages
PackageAffectedFixed
automation-gateway
Red Hat:ansible_automation_platform:2.5::el8
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el8ap
0:2.5.20251022-1.el8ap
automation-gateway-config
Red Hat:ansible_automation_platform:2.5::el8
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el8ap
0:2.5.20251022-1.el8ap
automation-gateway-server
Red Hat:ansible_automation_platform:2.5::el8
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el8ap
0:2.5.20251022-1.el8ap
automation-gateway
Red Hat:ansible_automation_platform:2.5::el9
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el9ap
0:2.5.20251022-1.el9ap
automation-gateway-config
Red Hat:ansible_automation_platform:2.5::el9
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el9ap
0:2.5.20251022-1.el9ap
automation-gateway-server
Red Hat:ansible_automation_platform:2.5::el9
From an advisory covering 2 CVEs
before 0:2.5.20251022-1.el9ap
0:2.5.20251022-1.el9ap
python3.11-django
Red Hat:ansible_automation_platform_developer:2.5::el8
From an advisory covering 2 CVEs
before 0:4.2.25-1.el8ap
0:4.2.25-1.el8ap
python3.11-django
Red Hat:ansible_automation_platform:2.5::el8
From an advisory covering 2 CVEs
before 0:4.2.25-1.el8ap
0:4.2.25-1.el8ap
python3.11-django
Red Hat:ansible_automation_platform_developer:2.5::el9
From an advisory covering 2 CVEs
before 0:4.2.25-1.el9ap
0:4.2.25-1.el9ap
python3.11-django
Red Hat:ansible_automation_platform:2.5::el9
From an advisory covering 2 CVEs
before 0:4.2.25-1.el9ap
0:4.2.25-1.el9ap
automation-eda-controller
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:1.2.1-1.el9ap
0:1.2.1-1.el9ap
automation-eda-controller-base
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:1.2.1-1.el9ap
0:1.2.1-1.el9ap
automation-eda-controller-base-services
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:1.2.1-1.el9ap
0:1.2.1-1.el9ap
automation-eda-controller-event-stream-services
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:1.2.1-1.el9ap
0:1.2.1-1.el9ap
automation-eda-controller-worker-services
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:1.2.1-1.el9ap
0:1.2.1-1.el9ap
automation-platform-ui
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:2.6.2-1.el9ap
0:2.6.2-1.el9ap
python3.11-django
Red Hat:ansible_automation_platform_developer:2.6::el9
From an advisory covering 4 CVEs
before 0:4.2.25-1.el9ap
0:4.2.25-1.el9ap
python3.11-django
Red Hat:ansible_automation_platform:2.6::el9
From an advisory covering 4 CVEs
before 0:4.2.25-1.el9ap
0:4.2.25-1.el9ap
tar-fs
Root:npm
before 3.1.0-aikido.2
3.1.0-aikido.23.0.8-aikido.23.0.9-aikido.22.0.0-aikido.42.1.2-aikido.12.1.2-aikido.21.16.3-aikido.1
@rootio/tar-fs
Root:npm
before 3.1.0-root.io.1
3.1.0-root.io.13.0.8-root.io.13.0.6-root.io.13.0.9-root.io.12.0.0-root.io.33.1.0-root.io.23.0.8-root.io.23.0.9-root.io.22.0.0-root.io.42.1.2-root.io.12.1.2-root.io.21.16.3-root.io.1
node-tar-fs
Ubuntu:Pro:22.04:LTS
before 2.1.1-6ubuntu0.22.04.1~esm1, plus listed versions
2.1.1-22.1.1-42.1.1-6
2.1.1-6ubuntu0.22.04.1~esm1
node-tar-fs
Ubuntu:Pro:24.04:LTS
before 2.1.1-6ubuntu0.24.04.1~esm1, plus listed versions
2.1.1-6
2.1.1-6ubuntu0.24.04.1~esm1
node-tar-fs
Ubuntu:25.10
before 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1, plus listed versions
2.1.1-63.0.8+~cs2.0.4-13.0.9+~cs2.0.4-1
3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
node-tar-fs
Ubuntu:Pro:22.04:LTS
From an advisory covering 3 CVEs
before 2.1.1-6ubuntu0.22.04.1~esm1, plus listed versions
2.1.1-22.1.1-42.1.1-6
2.1.1-6ubuntu0.22.04.1~esm1
node-tar-fs
Ubuntu:Pro:24.04:LTS
From an advisory covering 3 CVEs
before 2.1.1-6ubuntu0.24.04.1~esm1, plus listed versions
2.1.1-6
2.1.1-6ubuntu0.24.04.1~esm1
node-tar-fs
Ubuntu:25.10
From an advisory covering 3 CVEs
before 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1, plus listed versions
2.1.1-63.0.8+~cs2.0.4-13.0.9+~cs2.0.4-1
3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
tree-sitter-ruby
openSUSE:Tumbleweed
From an advisory covering 2 CVEs
before 0.23.1-2.1
0.23.1-2.1
tree-sitter-ruby
openSUSE:Leap 16.0
From an advisory covering 2 CVEs
before 0.23.1-160000.3.1
0.23.1-160000.3.1

History

History
RecordedChangedSources
affectedOSV
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-59343 is a high vulnerability (CVSS 8.7) in Mafintosh Tar-fs, published September 24, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.58%, the 47th percentile. Fixed in tar-fs 3.1.1.

References

Show 33 moreShow less
MoveEnter Open