CVE-2025-59343
Reported by github_m · Published September 24, 2025
tar-fs is fixed in 3.1.1, 2.1.4 and 1.16.6 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tar-fs | npm | 3.1.1, 2.1.4, 1.16.6 |
| grafana-image-renderer | Wolfi | 4.0.15-r2 |
| kibana-8.17 | Chainguard | 8.17.10-r1 |
| grafana-image-renderer | Chainguard | 4.0.15-r2 |
| gitlab-rails-ce-19.3 | Chainguard | 19.3.1-r6 |
| gitlab-rails-ce-fips-19.0 | Chainguard | 19.0.9-r3 |
| gitlab-rails-ce-fips-18.10 | Chainguard | 18.10.8-r8 |
| redisinsight | Chainguard | 2.70.1-r2 |
| code-server | Wolfi | 4.105.1-r1 |
| gitlab-rails-ce-fips-18.11 | Chainguard | 18.11.12-r2 |
| gitlab-rails-ce-fips-18.1 | Chainguard | 18.1.6-r15 |
| tileserver-gl-fips | Chainguard | 5.4.0-r2 |
11 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| mafintosh | tar-fs | >= 3.0.0, < 3.1.1, >= 2.0.0, < 2.1.3, < 1.16.5 |
| wolfi | grafana-image-renderer | 0 |
| chainguard | kibana-8.17 | 0 |
| chainguard | grafana-image-renderer | 0 |
| chainguard | gitlab-rails-ce-19.3 | 0 |
| chainguard | gitlab-rails-ce-fips-19.0 | 0 |
| chainguard | gitlab-rails-ce-fips-18.10 | 0 |
| chainguard | redisinsight | 0 |
| wolfi | code-server | 0 |
| chainguard | gitlab-rails-ce-fips-18.11 | 0 |
| chainguard | gitlab-rails-ce-fips-18.1 | 0 |
| chainguard | tileserver-gl-fips | 0 |
| chainguard | gitlab-rails-ce-19.2 | 0 |
| chainguard | kibana-8.19 | 0 |
| chainguard | gitlab-rails-ce-18.11 | 0 |
| chainguard | kibana-9.0 | 0 |
| wolfi | sqlpad | 0 |
| chainguard | kibana-9.1 | 0 |
| npm | tar-fs | 2.0.0, 0, 3.0.0 |
| chainguard | gitlab-rails-ce-19.0 | 0 |
…and 11 more
Timeline
- Sep 24, 2025 CVE Published
- Sep 25, 2025 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (10 in total, the first dated here)
- Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
- Oct 7, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-59343
vulnetix vdb fixes CVE-2025-59343
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-59343/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v x_refsource_CONFIRM
- https://github.com/mafintosh/tar-fs/commit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/09/msg00028.html url
- https://nvd.nist.gov/vuln/detail/CVE-2025-59343 advisory
- https://github.com/advisories/GHSA-vj76-c3g6-qr5v advisory
- https://github.com/mafintosh/tar-fs url