Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm
Not in CISA KEV

GHSA-vj76-c3g6-qr5v — tar-fs

Fix: mafintosh/tar-fs@0bd54cd

GHSA-vj76-c3g6-qr5v is a Path Traversal vulnerability in tar-fs. A fix is available for tar-fs — see the affected versions and patch details below.

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

Also known asCVE-2025-59343
Published
Sep 24, 2025
Updated
Sep 10, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Sep 18, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-vj76-c3g6-qr5v.

EPSS Exploitation Probability

via FIRST.org ↗
0.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs45th percentile — riskier than 45% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

3 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

1Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
tar-fsnpm
52.6Mdownloads / week

Description

Impact

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

Patches

Has been patched in 3.1.1, 2.1.4, and 1.16.6

Workarounds

You can use the ignore option to ignore non files/directories.

  ignore (_, header) {
    // pass files & directories, ignore e.g. symlinks
    return header.type !== 'file' && header.type !== 'directory'
  }

Credit

Reported by: Mapta / BugBunny_ai

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
📦npmtar-fs≥ 3.0.0&&< 3.1.13.1.1npm install tar-fs@3.1.1
📦npmtar-fs≥ 2.0.0&&< 2.1.42.1.4npm install tar-fs@2.1.4
📦npmtar-fsall versions1.16.6npm install tar-fs@1.16.6

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for tar-fs, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update tar-fs to 3.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-vj76-c3g6-qr5v is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-vj76-c3g6-qr5v can be triaged on real exposure rather than presence alone.

Tailored to GHSA-vj76-c3g6-qr5v. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
ProductFixed inAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-agent-init-rhel9:0.5.3-2RHSA-2025:17376
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-gateway-0:2.5.20251022-1.el8apRHSA-2025:18979
Red Hat Ansible Automation Platform 2.6 for RHEL 9automation-platform-ui-0:2.6.2-1.el9apRHSA-2025:19201
Multicluster Global Hub 1.6.5multicluster-globalhub/multicluster-globalhub-grafana-rhel9:1773650060RHSA-2026:6226
Red Hat Ansible Automation Platform 2.6ansible-automation-platform-26/gateway-rhel9:2.6RHSA-2025:19221
Red Hat Ceph Storage 7.1rhceph/rhceph-7-rhel9:1781863705RHSA-2026:33154
Red Hat Ceph Storage 9.0rhceph/rhceph-9-rhel9:1781160401RHSA-2026:26411
Red Hat Developer Hub 1.7rhdh/rhdh-hub-rhel9:1.7.2-1761774405RHSA-2025:19529

Frequently Asked Questions

### Impact v3.1.0, v2.1.3, v1.16.5 and below ### Patches Has been patched in 3.1.1, 2.1.4, and 1.16.6 ### Workarounds You can use the ignore option to ignore non files/directories. ```js ignore (_, header) { // pass files & directories, ignore e.g. symlinks return header.type !== 'file' && header.type !== 'directory' } ``` ### Credit Reported by: Mapta / BugBunny_ai
O3 Security · Impact-Aware SCA

Is GHSA-vj76-c3g6-qr5v in your dependencies?

O3 Security finds GHSA-vj76-c3g6-qr5v across npm dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-vj76-c3g6-qr5v: tar-fs | O3 Security