High

node-tar symlink escape lets tarballs reach files outside extraction

A crafted tarball with a trailing slash-dot in an entry path escapes the extraction directory through a symlink, so later reads, copies or rewrites hit arbitrary files outside that folder. An attacker who supplies a tarball your app extracts can reach any file the app can touch.

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>=7.5.5, <8.0.08.0.0

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

Who should check

Applications using node-tar to extract untrusted archives on macOS, Windows or Linux, with node-tar 7.5.5 up to but not including 8.0.0.

Expected outcome after remediation

The agent reports every node-tar installation and version it found, and confirms whether each was updated to 8.0.0 or newer.

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 5481 and your operating system.

Related node-tar incidents

All node-tar incidents