CVE-2026-140233: node-tar: PAX size precedence mismatch smuggles filtered entries during @archive repacking

Published Dec 1, 2026
·
Updated

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.

Affected Software

1 affected component
npm/tar>=7.5.22<8.0.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 8.0.0

Event History

Dec 1, 2026
CVE Published
via MITRE·04:58 PM
Data Sourced
via MITRE·04:58 PM
DescriptionWeakness
Data Sourced
via OSV·04:58 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using node-tar from 7.5.22 up to, but not including, 8.0.0 are exposed only if they repack attacker-controlled tar archives through the documented archive-file input route and rely on entry filtering or inspection to control what is emitted.

2

What does an attacker need to provide?

An attacker needs to supply a crafted tar archive with conflicting local and global PAX size values. The mismatch can cause bytes copied into the repacked output to form an additional archive member that was not inspected by the application’s filter.

3

Is ordinary tar extraction affected by the described bypass?

No. Ordinary extraction is not the claimed filter-bypass surface; the described issue concerns repacking archives while relying on filtering or inspection.

4

How can this be remediated?

Upgrade node-tar to version 8.0.0, which fixes the issue.

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