UBUNTU-CVE-2026-40491

Source
https://ubuntu.com/security/CVE-2026-40491
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40491.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-40491
Upstream
  • CVE-2026-40491
Published
2026-04-18T03:16:00Z
Modified
2026-05-20T16:25:39.864281751Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
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.

References

Affected packages

Ubuntu:25.10 / gdown

Package

Name
gdown
Purl
pkg:deb/ubuntu/gdown?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.2.0+dfsg-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gdown",
            "binary_version": "5.2.0+dfsg-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40491.json"

Ubuntu:26.04:LTS / gdown

Package

Name
gdown
Purl
pkg:deb/ubuntu/gdown?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*
5.2.0+dfsg-2
5.2.1+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gdown",
            "binary_version": "5.2.1+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-40491.json"