CVE-2025-59343
published high CVSS 4.0 · 8.7tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mafintosh | — | tar-fs>= 3.0.0, < 3.1.1 · >= 2.0.0, < 2.1.3 · < 1.16.5 | Affected | Not stated | GitHub_M |
| Debian | bookworm | node-tar-fs | Advisory build | 2.1.3-0+deb12u2 | DSA-6013-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-rubyaarch64 | Advisory build | 0.23.1-160000.3.1 | OPENSUSE-SU-2026:20998-1 |
| Ubuntu | jammy | node-tar-fs | Advisory build | 2.1.1-6ubuntu0.22.04.1~esm1 | USN-8367-1 |
| Debian | bullseye | node-tar-fs | Advisory build | 2.1.3-0+deb11u2 | DLA-4313-1 |
| Debian | trixie | node-tar-fs | Advisory build | 3.0.9+~cs2.0.4-1+deb13u1 | DSA-6013-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-rubyppc64le | Advisory build | 0.23.1-160000.3.1 | OPENSUSE-SU-2026:20998-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-rubys390x | Advisory build | 0.23.1-160000.3.1 | OPENSUSE-SU-2026:20998-1 |
Show 12 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-rubyx86_64 | Advisory build | 0.23.1-160000.3.1 | OPENSUSE-SU-2026:20998-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | tree-sitter-ruby-develnoarch | Advisory build | 0.23.1-160000.3.1 | OPENSUSE-SU-2026:20998-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-rubyaarch64 | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-rubyppc64le | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-rubys390x | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-rubyx86_64 | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-ruby-develaarch64 | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-ruby-develppc64le | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-ruby-devels390x | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | tree-sitter-ruby-develx86_64 | Advisory build | 0.23.1-2.1 | OPENSUSE-SU-2025:15582-1 |
| Ubuntu | noble | node-tar-fs | Advisory build | 2.1.1-6ubuntu0.24.04.1~esm1 | USN-8367-1 |
| Ubuntu | questing | node-tar-fs | Advisory build | 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 | USN-8367-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mafintosh | tar-fs | >= 3.0.0, < 3.1.1 (affected)>= 2.0.0, < 2.1.3 (affected)< 1.16.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
References
3Provider assertions
3GitHub_M · cna
tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d61724486fdd9e8b05edca6aa4078c1efb5739b17b3d4b3621b19a884c6e88f8
- Ingested
- 23 Sep 2026, 08:54:20 UTC
- Source record
- Official CVE record