Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. tar-fs
  4. ›
  5. CVE-2025-59343

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

September 24, 2025 (updated November 10, 2025)

v3.1.0, v2.1.3, v1.16.5 and below

References

  • github.com/advisories/GHSA-vj76-c3g6-qr5v
  • github.com/mafintosh/tar-fs
  • github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
  • github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
  • nvd.nist.gov/vuln/detail/CVE-2025-59343

Code Behaviors & Features

Detect and mitigate CVE-2025-59343 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.16.6, all versions starting from 2.0.0 before 2.1.4, all versions starting from 3.0.0 before 3.1.1

Fixed versions

  • 3.1.1
  • 2.1.4
  • 1.16.6

Solution

Upgrade to versions 1.16.6, 2.1.4, 3.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-61: UNIX Symbolic Link (Symlink) Following

Source file

npm/tar-fs/CVE-2025-59343.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:05 +0000.