High
node-tar deadlock in async archive extraction (CVE-2026-140251)
A crafted tar archive with an entry whose link target is an ancestor or descendant of its own path makes asynchronous extraction hang forever. An attacker who can supply such an archive causes a denial of service.
8.0.0Am 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
| Package | Ecosystem | Affected | Fixed in |
|---|---|---|---|
node-tar | other | >=7.5.22, <8.0.0 | 8.0.0 |
A fixed version is shown only when it is verified against a vendor or advisory source.
Who should check
Node.js projects using node-tar versions 7.5.22 up to but not including 8.0.0 on macOS or Linux; Windows and synchronous extraction are unaffected.
Expected outcome after remediation
Report whether any node-tar copy in the 7.5.22 to before 8.0.0 range was found, which packages pulled it in, and whether everything is now updated to 8.0.0 or later.
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 5489 and your operating system.
Related node-tar incidents
- node-tar UnpackSync can hang and never finish extractionHigh8.0.0
- node-tar symlink escape when extracting crafted archivesHigh8.0.0
- node-tar symlink escape lets a tarball read and write files anywhereHigh8.0.0
- node-tar symlink escape lets crafted archives leave extraction rootHigh8.0.0
- node-tar symlink escape writes outside the extraction folderHigh8.0.0
- node-tar symlink flaw lets crafted archives escape extraction folderHigh8.0.0