CVE-2025-48387
criticalpriority · track · 0EPSS 0.006 · 47 %ileDEEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.6–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (17)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-1420IBM App Connect Enterprise: Mehrere SchwachstellenDeutsch2025-06-29csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise ausnutzen, um Dateien zu manipulieren, und um einen Denial of Service Angriff durchzuführen.
- GHSA-8cj5-5rvv-wf4vtar-fs can extract outside the specified dir with a specific tarball2025-06-03ghsa · osvUS
### Impact v3.0.8, v2.1.2, v1.16.4 and below ### Patches Has been patched in 3.0.9, 2.1.3, and 1.16.5 ### 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 Thank you Caleb Brown from Google Open Source Security Team for reporting this in detail.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (12)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-48387cnnvd
- https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0fcnnvd
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4vcnnvd
- https://github.com/mafintosh/tar-fs/tagsPatchcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2025-48387cnnvd
- https://github.com/google/security-research/security/advisories/GHSA-xrg4-qp5w-2c3wenisa_euvd
- https://github.com/mafintosh/tar-fs/commit/647447b572bc135c41035e82ca7b894f02b17f0fenisa_euvd
- https://github.com/mafintosh/tar-fs/security/advisories/GHSA-8cj5-5rvv-wf4venisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan