Skip to content
Fencer Vulns
medium 5.5

CVE-2026-31802 json

node-tar Symlink Path Traversal via Drive-Relative Linkpath

published 2026-03-09 8 mo ago modified 2026-09-10 1 mo ago also EUVD-2026-10403 , GHSA-9ppj-qmqm-q256

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 21%
public exploits
0
none known

Summary

node-tar is a full-featured Tar for Node.js. Prior to version 7.5.11, tar (npm) can be tricked into creating a symlink that points outside the extraction directory by using a drive-relative symlink target such as C:../../../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This vulnerability is fixed in 7.5.11.

Patch / fix

  • npm tar 7.5.11
  • isaacs tar 7.5.11
  • tar_project tar 7.5.11
  • node-tar Debian 14 6.2.1+ds1+~cs6.1.13-10

debian advisories DEBIAN-CVE-2026-31802

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-31802 updated cvss 6.2

tar: tar: File overwrite via drive-relative symlink traversal

  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/elasticsearch6-rhel9, openshift-logging/logging-curator5-rhel9, openshift-logging/elasticsearch-proxy-rhel9, openshift-logging/elasticsearch-rhel9-operator, openshift-logging/elasticsearch-operator-bundle Red Hat 3scale API Management Platform 2 3scale-amp20/system, 3scale-amp21/system, 3scale-amp22/system, 3scale-amp24/system, 3scale-amp25/system, 3scale-amp26/system, +3 more Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel9, rhacm2/volsync-rhel9, rhacm2/volsync-operator-bundle
    affected: no fix planned “Out of support scope”
  • Red Hat AMQ Broker 7 org.jolokia-jolokia-parent
    affected: no fix planned “Will not fix”
  • Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9
    affected: no fix available “Fix deferred”
  • Red Hat Enterprise Linux 6 tar Red Hat Fuse 7 io.hawt-project, io.apicurio-apicurito, io.hawt-hawtio-online, io.syndesis-syndesis-parent Red Hat JBoss Enterprise Application Platform 7 io.hawt-project, org.jboss.hal-hal-parent Red Hat JBoss Enterprise Application Platform Expansion Pack org.keycloak-keycloak-parent Red Hat OpenShift AI (RHOAI) rhoai/odh-notebook-controller-rhel8, rhoai/odh-kf-notebook-controller-rhel8, rhoai/odh-data-science-pipelines-argo-argoexec-rhel8, rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel8 Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9, odf4/odf-console-rhel9, odf4/ocs-client-console-rhel9, odf4/odf-multicluster-console-rhel9
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Dev Spaces devspaces/machineexec-rhel9
    affected: no fix available
  • Red Hat Process Automation 7 org.uberfire-uberfire-parent, org.kie.workbench-kie-wb-common Red Hat Single Sign-On 7 org.keycloak-keycloak-parent
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Dev Spaces 3.28 devspaces/code-rhel9 1779814592, devspaces/dashboard-rhel9 1779341289
    fixed: vendor fix RHSA-2026:21772
  • Red Hat Cryostat 4 io.cryostat-cryostat
    not affected: component not present
show 7 more
  • Red Hat Network Observability Operator network-observability/network-observability-console-plugin-rhel9, network-observability/network-observability-console-plugin-compat-rhel9
    not affected: vulnerable code not present
  • Red Hat build of Apache Camel - HawtIO 4 io.hawt-project
    not affected: vulnerable code not in execute path
  • Red Hat Enterprise Linux 7 tar
    not affected: vulnerable code not present
  • Red Hat Enterprise Linux 8 npm, tar, nodejs, grafana, mozjs60, nodejs-libs, +17 more Red Hat Enterprise Linux 9 gjs, npm, tar, nodejs, grafana, sgx-mpa, +10 more Red Hat Enterprise Linux 10 tar, nodejs22, nodejs24, linux-sgx
    not affected: vulnerable code not in execute path
  • Red Hat JBoss Enterprise Application Platform 8 io.hawt-project, org.keycloak-keycloak-parent Red Hat JBoss Enterprise Application Platform Expansion Pack io.hawt-project Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9, openshift4/ose-console-rhel9
    not affected: vulnerable code not present
  • Red Hat OpenShift Dev Spaces devspaces/code-sshd-rhel9
    not affected: vulnerable code not in execute path
  • Red Hat OpenShift Dev Spaces 3.28 devspaces/udi-rhel9 1779829736, devspaces/server-rhel9 1779342423, devspaces/openvsx-rhel9 1779528224, devspaces/traefik-rhel9 1779786779, devspaces/udi-base-rhel9 1779741066, devspaces/code-sshd-rhel9 1779813519, +8 more Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
8 mo ago

Exploit prediction

0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 8.2 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
CNA 4.0 8.2 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
npm tar
<7.5.11
7.5.11

Affected products

  • isaacs node-tar

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.