DEBIAN-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 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.
DEBIAN-CVE-2026-40491
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-40491
gdown
Source reference: /affected/0/package/name
- Affected versions
- 5.2.0+dfsg-2
Source reference:
/affected/0/versions - Fixed versions
- 5.2.0+dfsg-2+deb13u1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
gdown
Source reference: /affected/1/package/name
- Affected versions
- 5.2.0+dfsg-2
Source reference:
/affected/1/versions5.2.1+dfsg-1Source reference:
/affected/1/versions - Fixed versions
- 6.0.0+dfsg-1
Source reference:
/affected/1/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.2.0+dfsg-2+deb13u1"
}
]
}
],
"package": {
"name": "gdown",
"purl": "pkg:deb/debian/gdown?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"5.2.0+dfsg-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40491.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "6.0.0+dfsg-1"
}
]
}
],
"package": {
"name": "gdown",
"purl": "pkg:deb/debian/gdown?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"5.2.0+dfsg-2",
"5.2.1+dfsg-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-40491.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56080 · Revision 1
- Added to Heist Feed
- Publisher date