8.7

CVE-2025-48387: tar-fs has issue where extract can write outside the specified dir with a specific tarball

Deferred
AliasesUBUNTU-CVE-2025-48387DEBIAN-CVE-2025-48387CGA-4g9p-x3h3-qmvp
Published 02-06-2025Last modified 03-11-2025

Vulnerability summary

CVE-2025-48387 is a high (CVSS 8.7) vulnerability in mafintosh tar-fs. EPSS estimates a 0.59% chance of exploitation in the next 30 days, higher than 49.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 8.7 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v4.0 (CVE.org)
EPSS score
0.59%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 5

Timeline

  1. 02-06-2025
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

Description

tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.

CVSS metrics

7 scores · 7 sources · 1 version

EPSS trend

Probability

0.59%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard34 products
  • code-server< 4.105.1-r1
  • gitlab-rails-ce-18.1All versions (No fix recorded)
  • gitlab-rails-ce-18.10All versions (No fix recorded)
  • gitlab-rails-ce-18.11All versions (No fix recorded) | < 18.11.13-r0
  • gitlab-rails-ce-18.5All versions (No fix recorded)
Wolfi8 products
  • code-server< 4.105.1-r1
  • jitsucom-jitsu< 2.10.0-r0
  • jitsucom-jitsu-console< 2.10.0-r0
  • jitsucom-jitsu-rotor< 2.10.0-r0
  • sqlpad< 7.5.3-r2
Debian1 product
  • node-tar-fs< 2.1.3-0+deb12u1 | < 3.0.9+~cs2.0.4-1
Mafintosh1 product
  • tar-fs< 1.16.5 | ≥ 2.0.0, < 2.1.3 | ≥ 3.0.0, < 3.0.9
Npm1 product
  • tar-fs< 1.16.5 | ≥ 2.0.0, < 2.1.3 | ≥ 3.0.0, < 3.0.9
Ubuntu1 product
  • node-tar-fs< 2.1.1-6ubuntu0.22.04.1~esm1 | < 2.1.1-6ubuntu0.24.04.1~esm1

6 vendors · 46 products

References

11 links
Show all 11 references