wkentaroのgdownにおけるパストラバーサルの脆弱性
| Title |
wkentaroのgdownにおけるパストラバーサルの脆弱性
|
| Summary |
gdownはGoogle Driveの公開ファイルやフォルダをダウンロードするツールです。バージョン5.2.2より前のものには、extractall機能にパストラバーサル攻撃の脆弱性が存在していました。悪意を持って細工されたZIPまたはTARアーカイブを解凍する際、ライブラリはアーカイブメンバーのファイル名を適切にサニタイズや検証を行いませんでした。これにより、意図していないディレクトリにファイルを書き込むことが可能となり、任意のファイルの上書きやリモートコード実行(RCE)につながる恐れがありました。バージョン5.2.2でこの問題は修正されています。
|
| Possible impacts |
当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution |
正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date |
April 18, 2026, midnight |
| Registration Date |
May 7, 2026, 12:01 p.m. |
| Last Update |
May 7, 2026, 12:01 p.m. |
|
CVSS3.0 : 重要
|
| Score |
7.8
|
| Vector |
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected System
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
| No |
Changed Details |
Date of change |
| 1 |
[2026年05月07日] 掲載 |
May 7, 2026, 12:01 p.m. |
NVD Vulnerability Information
CVE-2026-40491
| Summary |
gdown is a Google Drive public file/folder downloader. Versions prior to 5.2.2 are vulnerable to a Path Traversal attack within the extractall functionality. When extracting a maliciously crafted ZIP or TAR archive, the library fails to sanitize or validate the filenames of the archive members. This allow files to be written outside the intended destination directory, potentially leading to arbitrary file overwrite and Remote Code Execution (RCE). Version 5.2.2 contains a fix.
|
| Publication Date |
April 18, 2026, 12:16 p.m. |
| Registration Date |
April 19, 2026, 4:09 a.m. |
| Last Update |
April 21, 2026, 4:03 a.m. |
Related information, measures and tools
Common Vulnerabilities List