gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
Summary
gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-40491 gdown Fixed in: 5.2.0+dfsg-2+deb13u1
- Ubuntu UBUNTU-CVE-2026-40491 gdown
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com