gdown
Affected
- introduced
0, fixed5.2.2(ecosystem)
Fixed versions
5.2.2
Fix
- Fixed version
5.2.2pip install --upgrade gdown==5.2.2
Advisory
Also known as: CVE-2026-40491, GHSA-76hw-p97h-883f
The record has no 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.
High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
0, fixed 5.2.2 (ecosystem)5.2.2
5.2.2pip install --upgrade gdown==5.2.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0