CVE-2026-140251: node-tar async extraction deadlocks permanently when an entry's linkpath is a hierarchical relative of its own path

Published Dec 1, 2026
·
Updated

node-tar is a tar archive manipulation library for Node.js. From 7.5.22 until 8.0.0, node-tar contains a path-reservation deadlock affecting asynchronous archive extraction on POSIX systems. An attacker who can supply a crafted archive containing an entry whose link target is an ancestor or descendant of its own path can cause extraction to stall indefinitely, resulting in denial of service. Synchronous extraction and extraction on Windows are unaffected. This issue is fixed in version 8.0.0.

Affected Software

1 affected component
npm/node-tar>=7.5.22<8.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade node-tar to a version that resolves this vulnerability.

    Fixed in 8.0.0

Event History

Dec 1, 2026
CVE Published
via MITRE·06:29 PM
Data Sourced
via MITRE·06:29 PM
DescriptionWeakness
Data Sourced
via OSV·06:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to this denial of service?

POSIX systems using asynchronous extraction in node-tar versions from 7.5.22 up to, but not including, 8.0.0 are affected. Windows and synchronous extraction are unaffected.

2

What must an attacker control to trigger the issue?

The attacker must be able to provide a crafted tar archive for extraction. The archive needs an entry whose link target is an ancestor or descendant of that entry’s own path.

3

What can be done if upgrading is not immediately possible?

Avoid asynchronous extraction of untrusted archives on POSIX systems. Use synchronous extraction where operationally acceptable, since it is not affected.

4

How can we determine whether we are already vulnerable?

Check whether the application uses node-tar asynchronous extraction on a POSIX system and whether its node-tar version is 7.5.22 or later but earlier than 8.0.0. Upgrade to version 8.0.0 to obtain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203