Skip to main content
VulnerabilityPublished Updated

CVE-2026-40491: gdown Affected by Arbitrary File Write via Path Traversal in gdown.extractall

Affects gdownSource GCVE Database

0
Compare
Authoritative record:CVE-2026-40491· Medium 6.5

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

Data as of 30 Oct 2026, 20:25 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 6.0.0
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 30 Oct 2026.

What to do

Upgrade gdown to 6.0.0.

Affected software

ProductAffectedFixed in
Homebrewgdownpkg:brew/gdownOther threatsAffected
  • >=5.2.0 <6.0.0
Fixed in
  • 6.0.0

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

AI-suggested

Users should upgrade gdown to version 6.0.0 or later, which contains the fix for this path traversal vulnerability. Applying this official fix fully mitigates the issue.

Description

gdown versions from 5.2.0 up to but not including 6.0.0 are vulnerable to a path traversal flaw in the extractall function. This flaw allows crafted ZIP or TAR archives to write files outside the intended extraction directory, potentially enabling arbitrary file overwrite and remote code execution. The issue is fixed in version 6.0.0.

References

Community reviews

Loading reviews…