CVE-2025-59343 json
tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
published 2025-09-24 13 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-31022 , GHSA-vj76-c3g6-qr5v
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
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.
Patch / fix
- npm tar-fs 1.16.6, 2.1.4, 3.1.1
- tar-fs_project tar-fs 1.16.5, 2.1.3, 3.1.1
- node-tar-fs Debian 12 2.1.3-0+deb12u2
- node-tar-fs Debian 13 3.0.9+~cs2.0.4-1+deb13u1
- node-tar-fs Debian 14 3.0.9+~cs2.0.4-2
debian advisories DEBIAN-CVE-2025-59343
- node-tar-fs Ubuntu 25.10 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
- node-tar-fs Ubuntu Pro 22.04 LTS 2.1.1-6ubuntu0.22.04.1~esm1
- node-tar-fs Ubuntu Pro 24.04 LTS 2.1.1-6ubuntu0.24.04.1~esm1
ubuntu advisories UBUNTU-CVE-2025-59343
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python3.11-django ansible automation platform developer 2.6, ansible automation platform developer 2.5, ansible automation platform 2.6 +1 more 4.2.25-1.el9ap
- automation-platform-ui ansible automation platform 2.6 2.6.2-1.el9ap
- automation-eda-controller ansible automation platform 2.6 1.2.1-1.el9ap
- automation-eda-controller-base ansible automation platform 2.6 1.2.1-1.el9ap
- automation-eda-controller-base-services ansible automation platform 2.6 1.2.1-1.el9ap
- automation-eda-controller-worker-services ansible automation platform 2.6 1.2.1-1.el9ap
- automation-eda-controller-event-stream-services ansible automation platform 2.6 1.2.1-1.el9ap
- python3.11-django ansible automation platform developer 2.5, ansible automation platform 2.5 4.2.25-1.el8ap
red hat advisories RHSA-2025:19201RHSA-2025:18979
- tree-sitter-ruby openSUSE Leap 16.0 0.23.1-160000.3.1
- tree-sitter-ruby openSUSE Tumbleweed 0.23.1-2.1
opensuse advisories openSUSE-SU-2026:20998-1openSUSE-SU-2025:15582-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-59343 updated cvss 7.5
tar-fs: tar-fs symlink validation bypass
-
Red Hat Cryostat 4 cryostat-openshift-console-plugin-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel9 Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat Ceph Storage 6 pybind Red Hat Ceph Storage 7 pybind Red Hat Ceph Storage 8 pybindaffected: workaround, no fix available
+1 more productsfewer
Red Hat Ceph Storage 9 pybind -
Red Hat Fuse 7 io.syndesis-syndesis-parent Red Hat OpenShift Container Platform 4 openshift4/ose-console-rhel9affected: workaround, no fix planned “Will not fix”
-
Red Hat OpenShift Dev Spaces openshift4/devspaces-code-rhel9, devspaces-tech-preview/idea-rhel9, openshift4/devspaces-pluginregistry-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Cryostat 4 on RHEL 9 cryostat/cryostat-rhel9 4.0.3-2, cryostat/cryostat-db-rhel9 4.0.3-2, cryostat/jfr-datasource-rhel9 4.0.3-2, cryostat/cryostat-reports-rhel9 4.0.3-2, cryostat/cryostat-storage-rhel9 4.0.3-2, cryostat/cryostat-rhel9-operator 4.0.3-2, +5 morefixed: vendor fix RHSA-2025:17376
-
Red Hat Multicluster Global Hub 1.6.6 multicluster-globalhub 1773650060fixed: vendor fix RHSA-2026:6226
-
Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-gateway 2.5.20251022-1.el8ap, automation-gateway-config 2.5.20251022-1.el8ap, automation-gateway-server 2.5.20251022-1.el8ap Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-gateway 2.5.20251022-1.el9ap, automation-gateway-config 2.5.20251022-1.el9ap, automation-gateway-server 2.5.20251022-1.el9apfixed: vendor fix RHSA-2025:18979
-
Red Hat Ansible Automation Platform 2.6 ansible-automation-platform-26fixed: vendor fix RHSA-2025:19221
-
Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-platform-ui 2.6.2-1.el9apfixed: vendor fix RHSA-2025:19201
show 8 moreshow fewer
-
Red Hat Ceph Storage 7.1 rhceph/rhceph-7-rhel9 1781863705fixed: vendor fix RHSA-2026:33154
-
Red Hat Ceph Storage 9.0 rhceph/rhceph-9-rhel9 1781160401fixed: vendor fix RHSA-2026:26411
-
Red Hat Ceph Storage 9.2 rhceph/rhceph-9-rhel10 1790843527fixed: vendor fix RHSA-2026:86618
-
Red Hat Developer Hub 1.7 rhdh 1.7.2-1761774405fixed: vendor fix RHSA-2025:19529
-
Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 devspaces 3.24-1760676569, devspaces 3.24-1760747489, devspaces 3.24-1761088569fixed: vendor fix RHSA-2025:19094
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/vector-rhel9, openshift-logging/kibana6-rhel8, openshift-logging/eventrouter-rhel9, openshift-logging/cluster-logging-rhel9-operator, openshift-logging/log-file-metric-exporter-rhel9, openshift-logging/cluster-logging-operator-bundle Red Hat Multicluster Engine for Kubernetes multicluster-engine/console-mce-rhel9 Red Hat Multicluster Global Hub 1.6.6 multicluster-globalhub 1773649712, multicluster-globalhub 1774245716, multicluster-globalhub 1774245790, multicluster-globalhub 1774362315, multicluster-globalhub 1774364330 Red Hat Node HealthCheck Operator workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift Serverless openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel9not affected: vulnerable code not present
+8 more productsfewer
Red Hat Ansible Automation Platform 2.5 for RHEL 8 receptor 1.6.0-2.1.el8ap, receptorctl 1.6.0-2.1.el8ap, automation-hub 4.10.9-1.el8ap, python3.11-django 4.2.25-1.el8ap, python3.11-galaxy-ng 4.10.9-1.el8ap, automation-controller 4.6.21-1.el8ap, +19 more Red Hat Ansible Automation Platform 2.5 for RHEL 9 receptor 1.6.0-2.1.el9ap, receptorctl 1.6.0-2.1.el9ap, automation-hub 4.10.9-1.el9ap, python3.11-django 4.2.25-1.el9ap, python3.11-galaxy-ng 4.10.9-1.el9ap, automation-controller 4.6.21-1.el9ap, +19 more Red Hat Ansible Automation Platform 2.6 ansible-automation-platform, ansible-automation-platform-26 Red Hat Ansible Automation Platform 2.6 for RHEL 9 receptor 1.6.0-2.1.el9ap, receptorctl 1.6.0-2.1.el9ap, ansible-builder 3.1.0-2.el9ap, automation-hub 4.11.2-1.el9ap, python3.11-daemon 3.1.2-1.el9ap, ansible-navigator 25.8.0-2.el9ap, +32 more Red Hat Ceph Storage 7.1 rhceph/grafana-rhel9 1781855851, rhceph/keepalived-rhel9 1781855108, rhceph/snmp-notifier-rhel9 1781854814, rhceph/rhceph-haproxy-rhel9 1781856344, rhceph/rhceph-promtail-rhel9 1781856148 Red Hat Ceph Storage 9.0 rhceph/alloy-rhel10 1781021746, rhceph/grafana-rhel10 1781018768, rhceph/keepalived-rhel10 1781018336, rhceph/oauth2-proxy-rhel9 1781018431, rhceph/rhceph-haproxy-rhel9 1781021473, rhceph/snmp-notifier-rhel10 1781017635 Red Hat Ceph Storage 9.2 rhceph/alloy-rhel10 1790774976, rhceph/grafana-rhel10 1790774121, rhceph/keepalived-rhel10 1790842990, rhceph/oauth2-proxy-rhel10 1790774021, rhceph/snmp-notifier-rhel10 1790773439, rhceph/rhceph-haproxy-rhel10 1790846345 Red Hat Developer Hub 1.7 rhdh 1.7.2-1761865699, rhdh 1.7.2-1761872012 -
Red Hat JBoss Enterprise Application Platform 8 org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parentnot affected: component not present
-
Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel8, openshift4/devspaces-pluginregistry-rhel8 Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 devspaces 3.24-1759870356, devspaces 3.24-1759871071, devspaces 3.24-1759871505, devspaces 3.24-1759871621, devspaces 3.24-1759871872, devspaces 3.24-1760653610, +7 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 13 mo ago
Exploit prediction
0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | tar-fs | >=3.0.0, <3.1.1 >=2.0.0, <2.1.4 <1.16.6 |
3.1.1 2.1.4 1.16.6 |
Affected products
- mafintosh tar-fs
Classification
References
-
github.com
/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09
web
-
github.com
/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
web
-
lists.debian.org
/debian-lts-announce/2025/09/msg00028.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-59343
advisory
-
github.com
/mafintosh/tar-fs
package
Sources
- CVE List CVE-2025-59343
- GitHub Advisory GHSA-vj76-c3g6-qr5v
- NVD CVE-2025-59343
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.