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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-09T21:11:56.668Z
- Modified: 2026-09-10T03:50:38.398Z
- Also known as: GHSA-9ppj-qmqm-q256
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- isaacs node-tar: < 7.5.11
- tar (npm): before 7.5.11
- isaacs tar: before 7.5.11

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/isaacs/node-tar/security/advisories/GHSA-9ppj-qmqm-q256> (exploit, vendor-advisory, web)
- <https://github.com/isaacs/node-tar/commit/f48b5fa3b7985ddab96dc0f2125a4ffc9911b6ad> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31802> (advisory)
- <https://github.com/isaacs/node-tar> (package)

## Sources

- CVE List: [CVE-2026-31802](https://www.cve.org/CVERecord?id=CVE-2026-31802), CVE Terms of Use, modified 2026-03-10
- GitHub Advisory Database: [GHSA-9ppj-qmqm-q256](https://github.com/advisories/GHSA-9ppj-qmqm-q256), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-31802](https://nvd.nist.gov/vuln/detail/CVE-2026-31802), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31802 · Whole record: https://cve.day/CVE-2026-31802.json · Rebuilt by cve.day 2026-11-25T22:59:15.554Z
