CVE-2025-59343CWE-22CWE-61

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

High · published September 24, 2025

CVSS v4.0
8.7
EPSS
1%
Percentile
45.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00553 · 45.4th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2025-09-24T17:43Z
EPSS history
Timeline
  • 24 SEP 17:43Z
    tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
    cvelistv5