Bug 2588094 (CVE-2026-140239) - CVE-2026-140239 tar: node-tar: Arbitrary file read or write via improper PAX header linkpath validation
Summary: CVE-2026-140239 tar: node-tar: Arbitrary file read or write via improper PAX ...
Keywords:
Status: NEW
Alias: CVE-2026-140239
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
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 19:04 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:38 UTC
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create paths or symlinks outside their intended directory, resulting in arbitrary file read or write. Node-tar's own tar.x and tar.extract operations are not affected because Unpack separately rejects an escaping linkpath. 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.