CVE-2026-140245

Severity CVSS v4.0:
HIGH
Type:
CWE-22 Path Traversal
Publication date:
01/12/2026
Last modified:
01/12/2026

Description

node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, symlink linkpath containment bypass via entry paths ending in '/.'. A crafted archive can create a symlink pointing outside the extraction directory using default options and without any warning. The affected security path includes [STRIPABSOLUTEPATH], linkpath, path.posix.dirname(entry.path). This issue is fixed in version 8.0.0.