Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-140239— node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation

Quick assessment

Affected
isaacs node-tar
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

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 consumer

CVSS 7.2 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-140239

Vulnerability Information

Shenlong is analyzing...


Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mode validation
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
isaacs node-tar < 8.0.0 -

II. Public POCs for CVE-2026-140239

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-140239

请登录查看更多情报信息。

Other References for CVE-2026-140239 (3)

Same Patch Batch · isaacs · 2026-12-01 · 24 CVEs total

CVE-2026-140246 7.2 HIGH node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts vi
CVE-2026-140245 7.2 HIGH node-tar: Symlink linkpath containment bypass via entry paths ending in '/.'
CVE-2026-140238 7.2 HIGH node-tar: Newline injection in PAX extended-header records enables entry-attribute forgery
CVE-2026-140244 7.2 HIGH node-tar: symlink containment bypass via nested symlink + '..' (lexical linkpath check)
CVE-2026-140248 7.2 HIGH node-tar: Nested symlink target can escape node-tar extraction root
CVE-2026-140247 7.2 HIGH node-tar: Symlink linkpath escape check is lexical: '..' after an in-archive symlink creat
CVE-2026-140243 7.2 HIGH node-tar: Symlink escape from the extraction directory via a trailing `/.` in the entry pa
CVE-2026-140250 7.2 HIGH node-tar: Symlink containment bypass via chained symlinks lets tar.x() create links that r
CVE-2026-140249 7.2 HIGH node-tar: Symlink target escapes the extraction directory through an in-archive symlink ch
CVE-2026-140236 7.2 HIGH node-tar: Archive framing differential: PAX `size` is still applied to GNU/PAX meta entrie
CVE-2026-140233 7.2 HIGH node-tar: PAX size precedence mismatch smuggles filtered entries during @archive repacking
CVE-2026-140235 7.2 HIGH node-tar parses PAX extended headers by newline-splitting instead of length-delimiting, ca
CVE-2026-140118 7.1 HIGH node-tar: Uncapped linkpath drives quadratic getDirs in async path reservation causing unc
CVE-2026-140232 7.1 HIGH node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator
CVE-2026-140240 7.1 HIGH node-tar: A small archive exhausts memory or CPU through path-reservation bookkeeping
CVE-2026-140242 7.1 HIGH node-tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry los
CVE-2026-140234 7.1 HIGH node-tar: `/\0.*/` truncation stops at `\n`, `\r`, U+2028 and U+2029, so NUL bytes survive
CVE-2026-140241 7.1 HIGH node-tar crashes the process with an uncaught exception on a 4-byte zstd magic header when
CVE-2026-140231 7.1 HIGH node-tar: Decompression within the ratio limit is buffered in memory without backpressure,
CVE-2026-140230 7.1 HIGH node-tar PathReservations.getDirs() quadratic memory amplification via unbounded symlink l

Showing top 20 of 24 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities