High

node-tar symlink escape reads files outside the extraction root

Archives extracted with node-tar before 8.0.0 can plant a symlink inside the extraction root that points outside it. Any later code that reads, serves, copies, or archives the extracted tree can follow that link and read an arbitrary file on the machine.

Product
Systems
macOSWindowsLinux
Fixed in
8.0.0
CVSS
7.2
Weakness
CWE-22CWE-59
Source
Get the fix in Telegram

Am I affected?

You are affected if the installed version is older than 8.0.0. Check the version you have and update to 8.0.0 or later. The fixed version is verified against a vendor or advisory source.

Affected software and versions

PackageEcosystemAffectedFixed in
node-tarother<8.0.08.0.0

A fixed version is shown only when it is verified against a vendor or advisory source.

Who should check

Users of the node-tar library for Node.js on macOS, Windows, or Linux, running any version below 8.0.0.

Expected outcome after remediation

The agent reports the installed node-tar version, whether it is below 8.0.0, that it updated affected projects to 8.0.0, and that it removed any suspicious escaped symlinks.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 5482 and your operating system.

Related node-tar incidents

All node-tar incidents