CVE-2025-59343
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.
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
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 High
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 - 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 High
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 - 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 High
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 - 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 High
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/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 High
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 - 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 High
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/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 High
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 - 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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
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 - 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
| Package | Affected | Fixed |
|---|---|---|
tar-fsnpm |
3.0.0 up to 3.1.1 | 3.1.1 |
tar-fsnpm |
2.0.0 up to 2.1.4 | 2.1.4 |
tar-fsnpm |
before 1.16.6 | 1.16.6 |
tar-fsTuxCare: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-fsTuxCare: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-fsTuxCare: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-fsDebian: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-fsDebian: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-fsDebian: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-fsDebian: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
| Package | Affected | Fixed |
|---|---|---|
automation-gatewayRed 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-configRed 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-serverRed 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-gatewayRed 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-configRed 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-serverRed 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-djangoRed 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-djangoRed 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-djangoRed 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-djangoRed 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-controllerRed 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-baseRed 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-servicesRed 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-servicesRed 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-servicesRed 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-uiRed 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-djangoRed 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-djangoRed 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-fsRoot: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-fsRoot: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-fsUbuntu: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-fsUbuntu: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-fsUbuntu: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-fsUbuntu: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-fsUbuntu: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-fsUbuntu: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-rubyopenSUSE:Tumbleweed From an advisory covering 2 CVEs |
before 0.23.1-2.1 | 0.23.1-2.1 |
tree-sitter-rubyopenSUSE:Leap 16.0 From an advisory covering 2 CVEs |
before 0.23.1-160000.3.1 | 0.23.1-160000.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected | OSV | |
| affected, facts | ||
| first indexed | CVE 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
github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
lists.debian.org/debian-lts-announce/2025/09/msg00028.html
nvd.nist.gov/vuln/detail/CVE-2025-59343
github.com/advisories/GHSA-vj76-c3g6-qr5v
github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59343.json
Show 33 moreShow less
security-tracker.debian.org/tracker/CVE-2025-59343
github.com/mafintosh/tar-fs
access.redhat.com/errata/RHSA-2025:18979
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2397901
bugzilla.redhat.com/show_bug.cgi?id=2400450
issues.redhat.com/browse/AAP-56352
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_18979.json
access.redhat.com/security/cve/CVE-2025-59343
cve.org/CVERecord?id=CVE-2025-59343
access.redhat.com/security/cve/CVE-2025-59682
cve.org/CVERecord?id=CVE-2025-59682
nvd.nist.gov/vuln/detail/CVE-2025-59682
access.redhat.com/errata/RHSA-2025:19201
bugzilla.redhat.com/show_bug.cgi?id=2392834
bugzilla.redhat.com/show_bug.cgi?id=2392835
issues.redhat.com/browse/AAP-49448
security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_19201.json
access.redhat.com/security/cve/CVE-2025-9907
cve.org/CVERecord?id=CVE-2025-9907
nvd.nist.gov/vuln/detail/CVE-2025-9907
access.redhat.com/security/cve/CVE-2025-9908
cve.org/CVERecord?id=CVE-2025-9908
nvd.nist.gov/vuln/detail/CVE-2025-9908
ubuntu.com/security/CVE-2025-59343
ubuntu.com/security/notices/USN-8367-1
ubuntu.com/security/CVE-2024-12905
ubuntu.com/security/CVE-2025-48387
suse.com/security/cve/CVE-2025-5889
suse.com/security/cve/CVE-2025-59343
bugzilla.suse.com/1244345
bugzilla.suse.com/1250517
bugzilla.suse.com/1267461