
CVE catalog
CVE-2026-40491
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
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.57% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | gdown | Not reported | 5.2.2 | fixed |
| Debian | gdown | 13 | 5.2.0+dfsg-2 | vulnerable |
| Debian | gdown | 13 | 5.2.0+dfsg-2+deb13u1 | fixed |
| Debian | gdown | 14 | 5.2.0+dfsg-2 | vulnerable |
| Debian | gdown | 14 | 5.2.1+dfsg-1 | vulnerable |
| Debian | gdown | 14 | 6.0.0+dfsg-1 | fixed |
| Cpe | gdown | Not reported | 5.2.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | gdown | cpe | Not reported | 5.2.2 | Not reported | Not reported | Not reported |
| Debian | gdown | deb | 13 | 5.2.0+dfsg-2+deb13u1 | Not reported | DEBIAN-CVE-2026-40491 | Not reported |
| Debian | gdown | deb | 14 | 6.0.0+dfsg-1 | Not reported | DEBIAN-CVE-2026-40491 | Not reported |
| Cpe | gdown | cpe | Not reported | 5.2.2 | Not reported | NVD-CVE-2026-40491 | Not reported |
OpenFactory catalog packages
[Debian 13 (Trixie)]
- [gdown]Fixed
Details (2)
5.2.0+dfsg-2+deb13u1· all · trixieFixed · Fixed:
5.2.0+dfsg-2+deb13u1nvd · gdown · debian · 13
5.2.0+dfsg-2+deb13u1· all · trixieFixed · Fixed:
5.2.0+dfsg-2+deb13u1nvd · gdown · debian · 13
Observed:
References
- [https://github.com/wkentaro/gdown/commit/af569fc6ed300b7974dee66dc51e9f01b57b4dff]
- [https://github.com/wkentaro/gdown/releases/tag/v5.2.2]
- [https://github.com/wkentaro/gdown/security/advisories/GHSA-76hw-p97h-883f]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-40491]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-40491]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database]