SecurityContext

CVE-2025-59343: tar-fs - Path Traversal

  • Cve: CVE-2025-59343
  • Name: tar-fs - Path Traversal
  • 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.
  • Impact: Attackers can bypass symlink validation, potentially leading to unauthorized file access or modification.
  • Remediation: Update to versions 3.1.1, 2.1.4, or 1.16.6 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.7
  • Cvss 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
  • Epss score: 0.00604
  • Epss percentile: 0.49624
  • Assignee: [email protected]
  • Published at: 2025-09-24T18:15:42Z
  • Age in days: 426
  • Modified at: 2026-06-17T09:45:56Z
  • References total: 3
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-59343
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html

Projects

RepositoryLink kindsIndexedUrl
mafintosh/tar-fscommit, package, security_advisoryyes/v1/repositories/mafintosh/tar-fs

Index

  • Repositories: 630
  • Repositories high signal: 301
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts