Advisory

DEBIAN-CVE-2026-40491

Also known as: CVE-2026-40491

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-04-18 03:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

gdown

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 5.2.0+dfsg-2+deb13u1 (ecosystem)

Fixed versions

5.2.0+dfsg-2+deb13u1

Fix

  • Fixed version 5.2.0+dfsg-2+deb13u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

gdown

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.0.0+dfsg-1 (ecosystem)

Fixed versions

6.0.0+dfsg-1

Fix

  • Fixed version 6.0.0+dfsg-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences