The maintainer's advisory says versions before 8.0.0 may interpret crafted archive entries differently from other tar implementations. A prior fix changed header decoding, but a separate ReadEntry path still applies PAX size values to metadata entries.The CNA's CVSS 4.0 score is 7.2 (High); the record supplies no CVSS 3.1 score. A published reproduction in the advisory demonstrates the behavior in a test build, not observed exploitation in deployed systems. Security teams can use the vulnerability intelligence platform as a reference while tracing their own archive intake paths.
What it allows
How Does CVE-2026-140236 Change Archive Interpretation?
The maintainer says ReadEntry can copy a PAX size value onto GNU or PAX metadata entries. node-tar then uses that value to frame the entry, while another tar tool may use a different boundary. An attacker-controlled archive could pass a scanner's inspection yet expose a different file when node-tar extracts it.
The advisory also describes inconsistent size checks that can exceed the metadata entry memory limit. Local and global PAX values may take the wrong precedence in ReadEntry. A separate output-archive effect needs a workflow that repacks an archive input; ordinary creation from filesystem files does not use that path. These distinctions determine which applications need closer review.
The advisory includes self-contained reproduction tests run against an unmodified 7.5.22 build on macOS. Their authors say the affected code is platform independent, but did not check Linux or Windows behavior. CISA's 30 November 2026 KEV catalog did not list this CVE. The node-tar 8.0.0 security update places this flaw in the wider release context.
Who is affected
Which node-tar Versions and Workflows Are Affected?
The maintainer lists npm tar versions earlier than 8.0.0 as affected and 8.0.0 as patched. The framing, metadata limit and PAX precedence issues apply to the default parser and extraction paths described in the advisory. Risk arises when an application accepts archives from a less trusted source and relies on another tool's inspection before node-tar processes them.
The output-archive variant applies when a workflow repacks an archive input or adds a ReadEntry to a Pack. Inventory both extraction and repacking paths, including indirect dependencies that invoke node-tar. Our software dependency risk guide offers a process for identifying owners and verifying remediation.
Timeline
- 2026-11-28
The maintainer published the GHSA and identified 8.0.0 as patched.
- 2026-12-01
NVD published the CVE record.
- 2026-12-02
The GitHub advisory record was updated and reviewed.
What to do
-
Find archive intake paths
Inventory npm tar versions in deployed services and build tools. Identify where untrusted archives reach parsing, extraction, or repacking, including indirect dependencies.
-
Upgrade and verify
Update affected installations to tar 8.0.0 or later. Verify the resolved package version in the lockfile and running environment, then test affected archive workflows.
-
Review inspection boundaries
Where one tool approves an archive before node-tar extracts it, compare their effective entry views. This is our defensive check based on the maintainer's framing description.
-
Investigate suspicious archive processing
Review archive intake records and extracted file inventories for unexpected members. Check memory pressure during metadata processing; these are investigation leads, not published detection signatures.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-140236 in Brandefense Atlas
The Atlas record of CVE-2026-140236: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
What is the fixed node-tar version for CVE-2026-140236?
The maintainer lists npm tar 8.0.0 as patched. Verify the resolved and running version after updating direct or indirect dependencies.
Does the output-archive issue affect ordinary file-based creation?
The advisory says that variant requires archive-input repacking or Pack.add(ReadEntry). Ordinary creation from filesystem inputs is outside that particular path.
Does the published reproduction show attacks in the wild?
No. The advisory describes controlled tests against a 7.5.22 build. That evidence establishes reproducible behavior, not an observed campaign.
Sources
- node-tar archive framing differential advisoryisaacs/node-tar via GitHub Security Advisories
- CVE-2026-140236 NVD recordNIST NVD
- Known Exploited Vulnerabilities catalogCISA