CVE-2025-59343
HIGH 8.7CVSS 4.0tar-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.
- Published
- 24 Sep 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-61
- Also known as
- GHSA-vj76-c3g6-qr5v
- Sources
- NVDJSONOSV GHSA-vj76-c3g6-qr5vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | tar-fs | >= 3.0.0, < 3.1.1 | 3.1.1 |
| OSV | npm | tar-fs | >= 2.0.0, < 2.1.4 | 2.1.4 |
| OSV | npm | tar-fs | < 1.16.6 | 1.16.6 |
References
- https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09 · WEB
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v · WEB
- https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-59343 · ADVISORY
- https://github.com/mafintosh/tar-fs · PACKAGE
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 24 Sep 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Sep 2025)