CVE-2026-140233

7.2High

Published Dec 1, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite

7.2CVSS

High

0CVSS v4.010

Attack vector
Network
Complexity
Low
Privileges
None
User action
Passive
Impact
High impact on integrity
Weakness
CWE-436

What an attacker gets

Attackers can bypass file filters and inspection logic by crafting tar archives with conflicting PAX size headers. This allows malicious content to be injected into the output that should have been blocked by your application's security filters.

Root cause

The library fails to reconcile discrepancies between local and global PAX size values, causing the parser to miscalculate the entry size and process uninspected bytes as new archive members.

Affected versions

node-tar 7.5.22 through 7.x before 8.0.0

CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Fix & remediation

Upgrade to node-tar version 8.0.0 or later. If you cannot upgrade, ensure your application does not rely on node-tar to filter or inspect untrusted archive contents before processing.

remediation — bash
$ npm install node-tar@latest

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, an application that repacks attacker-controlled tar input through the documented archive-file input feature route and relies on an entry filter or inspection can be bypassed by conflicting local and global PAX size values. ReadEntry.size can disagree with the body bytes copied to the output, allowing body bytes to become an additional output member that the filter never inspected. Ordinary extraction is not the claimed filter-bypass surface. This issue is fixed in version 8.0.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-140233

More fully triaged vulnerabilities you may want to check next.