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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-140246— node-tar: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential

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, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, w

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

I. Basic Information for CVE-2026-140246

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: SymbolicLink extraction escapes the extraction directory on non-Windows hosts via a backslash separator differential
Source: CVE Program / CVE List V5
Vulnerability Description
node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, on non-Windows hosts, SymbolicLink extraction applies Windows-style backslash separator semantics during the linkpath containment check but passes the raw linkpath to the filesystem, where a backslash is an ordinary filename character. A crafted archive can therefore plant a link inside the extraction directory that resolves to a host path outside it. A later consumer can read through the link, but node-tar does not itself establish an arbitrary-write impact. 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-140246

# 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-140246

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

Other References for CVE-2026-140246 (3)

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

CVE-2026-140249 7.2 HIGH node-tar: Symlink target escapes the extraction directory through an in-archive symlink ch
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-140239 7.2 HIGH node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser
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-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-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-140232 7.1 HIGH node-tar: Uncaught Exception DoS in tar Extraction via NUL Bytes Surviving Line-Terminator
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