CVE-2026-29786
MEDIUM6.3EPSS 0.01%tar has Hardlink Path Traversal via Drive-Relative Linkpath
發布日:2026/3/5修改日:2026/5/16
描述
node-tar is a full-featured Tar for Node.js. Prior to version 7.5.10, tar can be tricked into creating a hardlink that points outside the extraction directory by using a drive-relative link target such as C:../target.txt, which enables file overwrite outside cwd during normal tar.x() extraction. This issue has been patched in version 7.5.10.
受影響套件(2)
- Debian/node-tarfrom 0, < 6.0.5+ds1+~cs11.3.9-1+deb11u3
- npm/tarfrom 0, < 7.5.10
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L |
| osv | CVSS 3.1 | MEDIUM6.3 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-29786
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-29786
- PATCHhttps://github.com/isaacs/node-tar
- WEBhttps://github.com/isaacs/node-tar/commit/7bc755dd85e623c0279e08eb3784909e6d7e4b9f
- WEBhttps://github.com/isaacs/node-tar/security/advisories/GHSA-qffp-2rhf-9h96