node-tar async extraction and file escape flaws
CVE-2026-140233 ほか23件
The node-tar tool that unpacks files can be stalled, or files can be spied on or changed.
対処法
Update node-tar to 8.0.0 or later. If you cannot update now, switching to the synchronous extraction option sync: true avoids the async-path stall flaws (CVE-2026-140118, CVE-2026-140119, CVE-2026-140230), but does not block the other flaws.
すぐに更新できない場合:
設定ファイルにこの行を追加してください:
sync: true
設定を誤るとサービスが止まったり、接続できなくなったりすることがあります。変更する前に下の原文リンクを確認してください。
要約
Several flaws were confirmed in node-tar's async extraction and compressed input handling. The gravest lets an attacker add members that a filter never inspects, and the same fixed release also fixes extraction-time process stalls and symlink escapes.
攻撃コード公開済み
該当する条件
- CVE-2026-140233 repacks archive input through the archive-file feature with an entry filter
- CVE-2026-140235, CVE-2026-140238 parses PAX extended headers
- CVE-2026-140243, CVE-2026-140245, CVE-2026-140249 another program reads or writes the extracted files
- CVE-2026-140118, CVE-2026-140119 uses the default async extraction API on POSIX hosts
- CVE-2026-140229 processes compressed input with tar
- CVE-2026-140230 processes archives with a shallow path and a deep linkpath
製品別のインシデント: node-tar
node-tar のほかの最近のインシデント
ディストリビューション別パッケージ (2)(下のリンクはすべて新しいタブで開きます)
- Debian 13 (trixie)node-tar · 未修正
- Debian 12 (bookworm)node-tar · 未修正
CVE 24件(下のリンクはすべて新しいタブで開きます)
- CVE-2026-140233
- CVE-2026-140235
- CVE-2026-140236
- CVE-2026-140238
- CVE-2026-140239
- CVE-2026-140243
- CVE-2026-140244
- CVE-2026-140245
- CVE-2026-140246
- CVE-2026-140247
- CVE-2026-140248
- CVE-2026-140249
- CVE-2026-140250
- CVE-2026-140118
- CVE-2026-140119
- CVE-2026-140229
- CVE-2026-140230
- CVE-2026-140231
- CVE-2026-140232
- CVE-2026-140234
- CVE-2026-140241
- CVE-2026-140251
- CVE-2026-140252
- CVE-2026-140237
勧告を読む · github.com(新しいタブで開きます)
CVE 24件それぞれの内容(下のリンクはすべて新しいタブで開きます)
- CVE-2026-140233lets an attacker slip extra files past an entry filter. CVSS 7.2 CVE-2026-140233 勧告
- CVE-2026-140235lets newline tricks in PAX metadata forge paths and sizes. CVSS 7.2 CVE-2026-140235 勧告
- CVE-2026-140236size mismatches can create extra files in a repacked output archive. CVSS 7.2 CVE-2026-140236 勧告
あと21件を表示
- CVE-2026-140238forged paths can overwrite files outside the extraction folder. CVSS 7.2 CVE-2026-140238 勧告
- CVE-2026-140239a global PAX header injects link paths that can read or write outside files. CVSS 7.2 CVE-2026-140239 勧告
- CVE-2026-140243a trailing /. lets an extracted symlink point outside the folder. CVSS 7.2 CVE-2026-140243 勧告
- CVE-2026-140244a nested symlink can let a reader reach an arbitrary file outside the folder. CVSS 7.2 CVE-2026-140244 勧告
- CVE-2026-140245a trailing /. can create a symlink pointing outside the folder. CVSS 7.2 CVE-2026-140245 勧告
- CVE-2026-140246a backslash mismatch can create a link pointing outside the folder. CVSS 7.2 CVE-2026-140246 勧告
- CVE-2026-140247an earlier symlink can make a later link point outside the folder. CVSS 7.2 CVE-2026-140247 勧告
- CVE-2026-140248a nested symlink can make a link point outside the extraction root. CVSS 7.2 CVE-2026-140248 勧告
- CVE-2026-140249a symlink chain can reach any system path for reads and writes. CVSS 7.2 CVE-2026-140249 勧告
- CVE-2026-140250Symbolic link targets in chained links are not properly validated, so a symlink pointing outside the extraction directory can be created, and if the application follows it, files outside can be read or modified. CVSS 7.2 CVE-2026-140250 勧告
- CVE-2026-140118An attacker-crafted archive with a deeply nested link path, extracted asynchronously on POSIX hosts, can exhaust memory and crash the Node.js process. CVSS 7.1 CVE-2026-140118 勧告
- CVE-2026-140119An attacker-crafted archive with a deeply nested link path, extracted with asynchronous Unpack on non-Windows hosts, can exhaust the heap and terminate the process. CVSS 7.1 CVE-2026-140119 勧告
- CVE-2026-140229When processing compressed malicious input, the inflated output is allocated before the ratio limit is checked, so memory can be exhausted despite the configured ratio limit. CVSS 7.1 CVE-2026-140229 勧告
- CVE-2026-140230A small crafted archive with a shallow entry path but a deeply nested link path bypasses the maxDepth check and can exhaust heap memory, terminating the process. CVSS 7.1 CVE-2026-140230 勧告
- CVE-2026-140231Compressed data within the ratio limit is buffered without backpressure and zero-size entries queue without bound, so an attacker can force memory use far beyond the archive size. CVSS 7.1 CVE-2026-140231 勧告
- CVE-2026-140232During asynchronous extraction, a NUL byte appearing after a line terminator is not removed from the pathname, causing an uncaught exception that terminates the process. CVSS 7.1 CVE-2026-140232 勧告
- CVE-2026-140234NUL bytes after certain line terminators survive name truncation, so async extraction can crash the process and names may be interpreted differently from other tools. CVSS 7.1 CVE-2026-140234 勧告
- CVE-2026-140241When automatically detecting Zstandard compression, an unhandled exception occurs on a crafted input file, terminating the process during asynchronous listing or extraction and causing denial of service. CVSS 7.1 CVE-2026-140241 勧告
- CVE-2026-140251An archive with an entry whose link target is an ancestor or descendant of its own path can deadlock asynchronous extraction on POSIX systems, stalling it indefinitely and causing denial of service. CVSS 7.1 CVE-2026-140251 勧告
- CVE-2026-140252During synchronous stream extraction, a failed entry makes the pending counter negative, so the stream never emits end, finish, or close events and hangs. CVSS 7.1 CVE-2026-140252 勧告
- CVE-2026-140237By exploiting differences in handling nested PAX metadata, an attacker can make extraction create or truncate files inside the extraction directory that inspection missed, bypassing allowlists or scanning policies. CVSS 6.9 CVE-2026-140237 勧告
リポジトリ 8件: github.com