CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:NHigh (8.7) in mafintosh tar-fs. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in tar-fs 1.16.5, 2.1.3, 3.0.9.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:Ntar-fs (npm): fixed in 1.16.5, 2.1.3, 3.0.9Explain CVE-2025-48387 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48387?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48387?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48387 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| mafintosh tar-fs | < 1.16.5 |
| mafintosh tar-fs | >= 2.0.0, < 2.1.3 |
| mafintosh tar-fs | >= 3.0.0, < 3.0.9 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-8cj5-5rvv-wf4v | npm | tar-fs | <1.16.5 | 1.16.5 |
| GHSA-8cj5-5rvv-wf4v | npm | tar-fs | >=2.0.0 <2.1.3 | 2.1.3 |
| GHSA-8cj5-5rvv-wf4v | npm | tar-fs | >=3.0.0 <3.0.9 | 3.0.9 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | node-tar-fs | 2.1.3-0+deb11u1 | DLA-4214-1 |
| Debian | 12 | node-tar-fs | 2.1.3-0+deb12u1 | DEBIAN-CVE-2025-48387 |
| Debian | 13, 14 | node-tar-fs | 3.0.9+~cs2.0.4-1 | DEBIAN-CVE-2025-48387 |
| Ubuntu | 25.10 | node-tar-fs | 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 | USN-8367-1 |
| Ubuntu | Pro:22.04:LTS | node-tar-fs | 2.1.1-6ubuntu0.22.04.1~esm1 | UBUNTU-CVE-2025-48387 USN-8367-1 |
| Ubuntu | Pro:24.04:LTS | node-tar-fs | 2.1.1-6ubuntu0.24.04.1~esm1 | UBUNTU-CVE-2025-48387 USN-8367-1 |
| Azure Linux | 2 | reaper | 3.1.1-19 | AZL-62236 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.
Red Hat rates this Important.
This vulnerability in tar-fs is Important not a moderate flaw, primarily due to its ability to bypass directory confinement during tarball extraction. The core issue—path traversal via crafted archive entries—allows attackers to write files outside the intended extraction directory, potentially overwriting system files, configuration files, or injecting malicious scripts into sensitive locations. Unlike moderate flaws that may require specific conditions or user interaction to exploit, this vulnerability can be triggered automatically in server-side environments that extract user-supplied tar files (e.g., CI/CD systems, deployment tools, or file upload handlers). Its exploitation could lead to remote code execution, privilege escalation, or denial of service, depending on the context.
Mitigation is either unavailable or does not meet Red Hat Product Security standards for usability, deployment, applicability, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Hub 1.5 | rhdh/rhdh-hub-rhel9:1.5.3-1752159545 | Fixed 2025-07-14 | RHSA-2025:10992 |
| Red Hat Developer Hub 1.6 | rhdh/rhdh-hub-rhel9:1.6.2-1750887220 | Fixed 2025-06-30 | RHSA-2025:9966 |
| Red Hat Developer Hub 1.7 | rhdh/rhdh-hub-rhel9:1.7.0-1754936470 | Fixed 2025-08-19 | RHSA-2025:14090 |
| Red Hat OpenShift Dev Spaces (RHOSDS) 3.23 | devspaces/code-rhel9:3.23-1757618807 | Fixed 2025-09-15 | RHSA-2025:15847 |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-api-rhel8 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-db-migration-rhel8 | Affected | |
| OpenShift Pipelines | openshift-pipelines/pipelines-hub-ui-rhel8 | Affected | |
| OpenShift Serverless | openshift-serverless-1/kn-backstage-plugins-eventmesh-rhel8 | Will not fix | |
| Red Hat Developer Hub 1 | rhdh/rhdh-rhel9-operator | Not affected | |
| Red Hat Fuse 7 | io.syndesis-syndesis-parent | Will not fix | |
| Red Hat JBoss Enterprise Application Platform 8 | org.keycloak-keycloak-parent | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | org.keycloak-keycloak-parent | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel8 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-rhel8-operator | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhods/odh-rhel8-operator | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/code-rhel8 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel8 | Not affected | |
| Red Hat OpenShift Dev Spaces | devspaces/pluginregistry-rhel9 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48387.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.