ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2026-26960

Details

node-tar is a full-featured Tar for Node.js. When using default options in versions 7.5.7 and below, an attacker-controlled archive can create a hardlink inside the extraction directory that points to a file outside the extraction root, enabling arbitrary file read and write as the extracting user. Severity is high because the primitive bypasses path protections and turns archive extraction into a direct filesystem access primitive. This issue has been fixed in version 7.5.8.

Affected packages

EcosystemPackageAffected versions
Debian:12node-tar
All versions before 6.1.13+~cs7.0.5-1+deb12u1 (fixed in 6.1.13+~cs7.0.5-1+deb12u1)
Debian:13node-tar
All versions before 6.2.1+~cs7.0.8-1+deb13u1 (fixed in 6.2.1+~cs7.0.8-1+deb13u1)
Debian:14node-tar
All versions before 6.2.1+ds1+~cs6.1.13-8 (fixed in 6.2.1+ds1+~cs6.1.13-8)

References