CVE-2025-59343

Published Sep 24, 2025

Last updated 5 months ago

Overview

AI description

Automated description summarized from trusted sources.

CVE-2025-59343 describes a symlink validation bypass vulnerability found in the `tar-fs` library, which provides filesystem bindings for `tar-stream`. This flaw affects versions of `tar-fs` prior to 3.1.1, 2.1.3, and 1.16.5. The vulnerability allows for a path traversal issue if a specific tarball is used with a predictable destination directory. This could potentially enable an attacker to write files outside of the intended extraction location. The issue has been addressed in `tar-fs` versions 3.1.1, 2.1.4, and 1.16.6, and a suggested workaround involves utilizing the `ignore` option for non-files or directories.

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.
Source
security-advisories@github.com
NVD status
Deferred

Risk scores

CVSS 4.0

Type
Secondary
Base score
8.7
Impact score
-
Exploitability score
-
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/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
Severity
HIGH

Weaknesses

security-advisories@github.com
CWE-22

Social media

Hype score
Not currently trending