CVE-2026-140243

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, there is a symlink escape from the extraction directory via a trailing /. in the entry path. Any application that extracts attacker-supplied tarballs with tar.x() / tar.extract() and then reads, serves, copies or rewrites the extracted files can be pointed at an arbitrary file outside the extraction directory. This issue is fixed in version 8.0.0.