The maintainer says affected ustar, GNU and PAX archive names can produce different interpretations across tools. During asynchronous extraction, an uncaught filesystem error can crash the process.The maintainer lists versions before 8.0.0 as affected and 8.0.0 as patched. Teams handling untrusted archives can use the vulnerability intelligence platform as a CVE reference while checking deployed package versions. The maintainer's published reproduction shows a test outcome, not observed exploitation in a deployment.
What it allows
How Does CVE-2026-140234 Affect Archive Names?
The maintainer says node-tar removes text after a NUL with a regular expression that stops at certain line separators. A remaining NUL can therefore reach the filesystem during asynchronous extraction. The filesystem throws, and a process without an error handler can crash.
The same parsing rule applies to ustar names, GNU long names and links, and PAX values. With the strip option, surviving name characters can give node-tar a different view from other archive tools. That difference matters when a workflow validates an archive with one tool and processes it with another.
The maintainer published local reproduction results against version 7.5.22 on macOS. Those results support the stated crash and parsing differential, but they do not establish use against a production system. CISA's 30 November 2026 KEV catalog version does not list this CVE.
For broader release context, see the node-tar 8.0.0 archive handling report. This profile focuses on the NUL parsing issue in GHSA-wpwg-r92p-fjjh. It does not merge this CVE with the release's other archive fixes.
Who is affected
Which CVE-2026-140234 Versions Need an Update?
The maintainer's advisory marks npm tar versions before 8.0.0 as affected and 8.0.0 as patched. An application is exposed to the described behavior when it processes a crafted archive through the affected parsing paths. The advisory identifies asynchronous extraction as the crash path and strip as the name differential condition.
Version 8.0.0 is a major release with migration work. Its release notes say it requires Node.js 22 or newer and changes callback and stream APIs. Test the application's extraction path before deployment, then check the installed tar version in the running environment.
Record the update in the patch management process. An application manifest alone may not show the version actually loaded by a deployed process. Verify the resolved package version after the build and redeploy.
Timeline
- 2026-11-28
The node-tar maintainer published GHSA-wpwg-r92p-fjjh and released version 8.0.0.
- 2026-12-01
NVD published its CVE-2026-140234 record.
What to do
-
Inventory archive processing
Find services and jobs that ingest archives from outside their trust boundary. Identify the installed npm tar version and whether they use asynchronous extraction or strip.
-
Plan the 8.0.0 migration
Update to tar 8.0.0 or later. Check Node.js 22 compatibility and the callback and stream changes named in the maintainer's release notes.
-
Verify the running version
After deployment, inspect the resolved tar package version in the running build. Confirm it is 8.0.0 or later, then exercise the application's normal archive workflow.
-
Review error handling
Check whether asynchronous extraction errors are caught and logged. Treat this as a defensive check inferred from the maintainer's described uncaught-error crash path.
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-140234 in Brandefense Atlas
The Atlas record of CVE-2026-140234: 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 fixed in node-tar 8.0.0 for CVE-2026-140234?
The maintainer marks 8.0.0 as the patched version for NUL-related name parsing differences and asynchronous extraction crashes.
Does the published reproduction prove active exploitation?
No. The maintainer describes local tests against an unmodified 7.5.22 build on macOS. Those test results are separate from observations in deployed systems.
Why does an update need migration testing?
The 8.0.0 release requires Node.js 22 or newer and changes callback and stream APIs. Test those changes against the application's archive workflow.