Skip to main content
VulnerabilityPublished Updated

CVE-2026-40491: wkentaro gdown · Path Traversal

Affects wkentaro gdownSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.5 Medium : upgrade to 5.2.2 when convenient.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 47% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 5.2.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade wkentaro gdown to 5.2.2.

Affected software

ProductAffectedFixed in
wkentarogdownAffected
  • <5.2.2
Fixed in
  • 5.2.2
PyPIgdownpkg:pypi/gdownOther threatsAffected
  • <5.2.2
Fixed in
  • 5.2.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to gdown version 5.2.2 or later, which contains a fix for this path traversal vulnerability. No other mitigation steps are indicated by the vendor advisory. Patch status is confirmed by the version update.

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.

References

Community reviews

Loading reviews…