CVE-2026-40491Wkentaro Gdown
High 7.8
Follow: this CVE · Wkentaro · Wkentaro Gdown We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- —
- Auth required
- Yes
- Published
- Apr 18, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Gdown.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | gdown |
< 5.2.2 |
5.2.2 |
pip install "gdown>=5.2.2" |
| PyPI | gdown |
< 5.2.2 |
5.2.2 |
pip install "gdown>=5.2.2" |
Per OSV / GitHub Advisories (GHSA-76hw-p97h-883f, PYSEC-2026-2158). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| wkentaro | gdown | < 5.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Release Notes
- github.com Exploit Vendor Advisory