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

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS: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.

DistributionPackageReleaseVersionStatus
CpegdownNot reported5.2.2fixed
Debiangdown135.2.0+dfsg-2vulnerable
Debiangdown135.2.0+dfsg-2+deb13u1fixed
Debiangdown145.2.0+dfsg-2vulnerable
Debiangdown145.2.1+dfsg-1vulnerable
Debiangdown146.0.0+dfsg-1fixed
CpegdownNot reported5.2.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
CpegdowncpeNot reported5.2.2Not reportedNot reportedNot reported
Debiangdowndeb135.2.0+dfsg-2+deb13u1Not reportedDEBIAN-CVE-2026-40491Not reported
Debiangdowndeb146.0.0+dfsg-1Not reportedDEBIAN-CVE-2026-40491Not reported
CpegdowncpeNot reported5.2.2Not reportedNVD-CVE-2026-40491Not reported

OpenFactory catalog packages

[Debian 13 (Trixie)]

  • [gdown]Fixed
    Details (2)
    • 5.2.0+dfsg-2+deb13u1 · all · trixie

      Fixed · Fixed: 5.2.0+dfsg-2+deb13u1

      nvd · gdown · debian · 13

    • 5.2.0+dfsg-2+deb13u1 · all · trixie

      Fixed · Fixed: 5.2.0+dfsg-2+deb13u1

      nvd · gdown · debian · 13

Observed:

References