Skip to content
High 7.2

node-tarに展開先の外へ書き出される脆弱性、8.0.0で修正

CVE-2026-140243 First seen on SecPulse

Summary

node-tarの7.5.5から8.0.0より前までに、エントリパスの末尾にある「/.」を悪用して展開先ディレクトリの外にあるファイルを指すシンボリックリンクを作られる脆弱性が見つかりました。攻撃者が用意したtarballをtar.x()やtar.extract()で展開し、その結果を読み取り・配信・コピー・書き換えするアプリケーションが影響を受けるおそれがあります。修正版は8.0.0で、公開されたばかりのため悪用の有無は公表されていません。最新の情報を確認してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

node-tarの7.5.5から8.0.0より前までに、エントリパスの末尾にある「/.」を悪用して展開先ディレクトリの外にあるファイルを指すシンボリックリンクを作られる脆弱性が見つかりました。攻撃者が用意したtarballをtar.x()やtar.extract()で展開し、その結果を読み取り・配信・コピー・書き換えするアプリケーションが影響を受けるおそれがあります。修正版は8.0.0で、公開されたばかりのため悪用の有無は公表されていません。最新の情報を確認してください。

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

node-tar is a tar archive manipulation library for Node.js. From 7.5.5 until 8.0.0, there is a symlink escape from the extraction directory via a trailing /. in the entry path. Any application that extracts attacker-supplied tarballs with tar.x() / tar.extract() and then reads, serves, copies or rewrites the extracted files can be pointed at an arbitrary file outside the extraction directory. This issue is fixed in version 8.0.0.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details