Skip to main content
← All vulnerabilities
CVE-2026-31802GHSA-9PPJ-QMQM-Q256

node-tar Symlink Path Traversal via Drive-Relative Linkpath

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.11
3 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • isaacs node-tar

    fixed in 7.5.11

  • tarnpm

    fixed in 7.5.11

References 5

GitHub · isaacs/node-tar

GitHub · Jvr2022/CVE-2026-31802

GitHub · Recorded-texteditor120/CVE-2026-31802

GitHub · ridhinva/npm-tar-path-traversal-scanner