Bug 2588097 (CVE-2026-140238) - CVE-2026-140238 tar: node-tar: Arbitrary file overwrite via newline injection in PAX header records
Summary: CVE-2026-140238 tar: node-tar: Arbitrary file overwrite via newline injection...
Keywords:
Status: NEW
Alias: CVE-2026-140238
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-01 17:41 UTC by OSIDB Bzimport
Modified: 2026-12-01 18:54 UTC (History)
147 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-01 17:41:51 UTC
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged. Direct node-tar extraction without strip can overwrite a path within the extraction target. The npm execution chain additionally requires Windows strip:1 normalization, an overwrite of package.json, and later execution of the injected postinstall script; POSIX npm processing with strip:1 is not affected by that chain. This issue is fixed in version 8.0.0.


Note You need to log in before you can comment on or make changes to this bug.