GHSA-76hw-p97h-883f · Severity: medium · Ecosystem: pip — gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
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.
Conclusion & alert: CVE-2026-40491 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-02 | 0.05% | 0.05% | +0.00% |
| 2 | 2026-04-18 | — | 0.05% | — |
Full EPSS history (2 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.5 | 3.1 | MEDIUM |
|
2.8 | 3.6 | [email protected] |
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
GHSA-76hw-p97h-883f · Severity: medium · Ecosystem: pip — gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2026-40491 not yet assigned priority: Debian including 1 source packages (gdown), 3 status rows across 3 suites (forky, sid, trixie): resolved 2, open 1. | https://security-tracker.debian.org/tracker/CVE-2026-40491 |
ubuntu
|
medium | CVE-2026-40491 medium priority: Ubuntu including 1 source packages (gdown), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 3, DNE 2. | https://ubuntu.com/security/CVE-2026-40491 |
| URL | Tags |
|---|---|
| https://github.com/wkentaro/gdown/commit/af569fc6ed300b7974dee66dc51e9f01b57b4dff | Patch |
| https://github.com/wkentaro/gdown/releases/tag/v5.2.2 | Release Notes |
| https://github.com/wkentaro/gdown/security/advisories/GHSA-76hw-p97h-883f | Exploit Vendor Advisory |