
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-59343 affects tar-fs, a Node.js module that provides filesystem bindings for tar-stream. The vulnerability was discovered and disclosed on September 24, 2025. 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 (NVD, Debian Security).
The vulnerability stems from an improper symlink validation mechanism in the tar-fs package. The issue has been assigned a CVSS 4.0 Base Score of 8.7 (HIGH) with the vector string 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. The vulnerability is categorized under CWE-61 (UNIX Symbolic Link Following) and CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) (NVD).
The vulnerability could allow an attacker to bypass symlink validation when the destination directory is predictable with a specific tarball. This could potentially lead to overwriting, deleting, or corrupting critical files such as programs, libraries, or important data (Red Hat Portal).
The issue has been patched in versions 3.1.1, 2.1.4, and 1.16.6. As a workaround, users can implement the ignore option to ignore non-files/directories using the following pattern: ignore (_, header) { return header.type ! 'file' && header.type ! 'directory' } (GitHub Advisory).
Multiple Linux distributions have responded to this vulnerability by releasing security updates. Debian has issued DSA-6013-1 for both oldstable (bookworm) and stable (trixie) distributions. Red Hat has released RHSA-2025:17376 to address this vulnerability in their products (Debian Security, Red Hat Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."