home / blog

2026-12-02 · high

CVE-2026-140250: Critical node-tar vulnerability

CVE-2026-140250: Vulnerability in node-tar (7.5.5-8.0.0) allows symlink containment bypass.

CVE-2026-140250: Critical node-tar vulnerability

CVE-2026-140250 is a critical vulnerability in the node-tar library for Node.js, present in versions from 7.5.5 to 8.0.0. The flaw allows an attacker to create tar archives with chained symbolic links that, when extracted, create pointers outside the target directory, potentially enabling unauthorized access to sensitive files.

The vulnerability has a CVSS score of 7.2, classified as high severity. Publicly available exploits have been reported on GitHub repositories, indicating the vulnerability is practically exploitable. NVD officially published the advisory on December 1, 2026.

Organizations using node-tar should immediately apply the patch by updating to version 8.0.0 or later. It is also essential to review archive extraction mechanisms in production environments, implementing additional controls to verify the integrity of symbolic links.

At a glance

What
Vulnerability in chained symbolic links validation in node-tar that allows creating links that resolve outside the extraction directory.
Severity
High (CVSS 7.2)
Affected versions
7.5.5 up to 8.0.0 (not inclusive)
Fix
Update to version 8.0.0 or later
Status
Published on 2026-12-01 on NVD
Action
Apply patches, verify archive extractions in production environments

Sources: NVD, CVE-2026-140250

← All articles