CVE-2025-59343mafintosh tar-fs
High 8.7 No auth needed
Follow: this CVE · mafintosh · mafintosh tar-fs We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Auth required
- No
- Published
- Sep 24, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for tar-fs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | tar-fs |
≥ 3.0.0 < 3.1.1 |
3.1.1 |
npm install tar-fs@3.1.1 |
| npm | tar-fs |
≥ 2.0.0 < 2.1.4 |
2.1.4 |
npm install tar-fs@2.1.4 |
| npm | tar-fs |
< 1.16.6 |
1.16.6 |
npm install tar-fs@1.16.6 |
Per OSV / GitHub Advisories (GHSA-vj76-c3g6-qr5v). Check the version in your lockfile before upgrading.
Affected products
- mafintosh · tar-fs
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for tree-sitter-ruby · SUSE · openSUSE-SU-2026:20998-1 · Jun 22, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.