CVE Catalog

CVE-2026-40491

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

47th percentile - higher than 47% of all known CVEs

Summary

gdown versions prior to 5.2.2 are vulnerable to a path traversal attack in the extractall functionality when extracting maliciously crafted ZIP or TAR archives. Filenames are not sanitized, allowing files to be written outside the intended directory.

Risk Assessment

This can lead to arbitrary file overwrite and remote code execution (RCE).

Recommendation

Update gdown to version 5.2.2 or later.

Related vulnerabilities

Original NVD description (English 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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS