VULNERABILITY INTELLIGENCE

CVE-2026-31802

CVSS score5.5 MEDIUM
EPSS probability0.27%
CISA KEVNot currently listed
Published2026-03-10
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

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.

Weakness classification

  • security-advisories@github.com: CWE-22

Primary references