Skip to main content
← All vulnerabilities
CVE-2025-59343GHSA-VJ76-C3G6-QR5V

tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.1, 2.1.3, 1.16.5, 2.1.4, 1.16.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • mafintosh tar-fs

    From 3.0.0 · fixed in 3.1.1; From 2.0.0 · fixed in 2.1.3; fixed in 1.16.5

  • tar-fsnpm

    From 3.0.0 · fixed in 3.1.1

  • tar-fsnpm

    From 2.0.0 · fixed in 2.1.4

  • tar-fsnpm

    fixed in 1.16.6

References 2

GitHub · mafintosh/tar-fs