CVE-2026-31802
MEDIUMnode-tar <7.5.11 - Path Traversal
Title source: llmDescription
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.
Exploits (3)
github
WORKING POC
10 stars
by XiaomingX · pythonpoc
https://github.com/XiaomingX/data-cve-poc-py-v1/tree/main/2026/CVE-2026-31802
nomisec
SUSPICIOUS
by Recorded-texteditor120 · poc
https://github.com/Recorded-texteditor120/CVE-2026-31802
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
0.7%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Details
CWE
CWE-22
Status
published
Products (2)
isaacs/tar
< 7.5.11
npm/tar
0 - 7.5.11npm
Published
Mar 10, 2026
Tracked Since
Mar 10, 2026