CVE-2026-40491
gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
6.5
MEDIUM
CVSS 3.1
EPSS 0.08%
Description
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.
How to fix CVE-2026-40491
To remediate CVE-2026-40491, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 5.2.2 or later
Is CVE-2026-40491 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- from 0, < 5.2.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |