# CVE-2026-31802: node-tar Symlink Path Traversal via Drive-Relative Linkpath

> CVE-2026-31802: node-tar Symlink Path Traversal via Drive-Relative Linkpath. CVSS 5.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-31802
Last updated: 2026-06-17T10:34:29Z

- Published: 2026-03-09 21:11 UTC · Updated: 2026-06-17 10:34 UTC · Assigner: GitHub\_M
- CVSS: 5.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.26%, 18th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-22

## Description

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.

## Affected vendors and products

- isaacs: node-tar

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-31802)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-31802)
- [https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad](https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad)
- [https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256](https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-31802 · Markdown: https://rewindex.com/cve/CVE-2026-31802.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-31802 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:02.521Z
