ADVISORIES

Vulnerability

CVE-2025-58438

internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive library. The file.download() method does not properly sanitize user-supplied filenames or validate the final download path. A maliciously crafted filename could contain path traversal sequences (e.g., ../../../../windows/system32/file.txt) or illegal characters that, when processed, would cause the file to be written outside of the intended target directory. An attacker could potentially overwrite critical system files or application configuration files, leading to a denial of service, privilege escalation, or remote code execution, depending on the context in which the library is used. The vulnerability is particularly critical for users on Windows systems, but all operating systems are affected. This issue is fixed in version 5.5.1.

7 advisories report this vulnerability, across 3 ecosystems.

Critical severity All Debian 3PyPI 2Ubuntu 2

Advisories

  • DEBIAN-CVE-2025-58438

    internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive…

    CVE-2025-58438 Debian Updated 1 September 2026
  • DLA-4314-1

    python-internetarchive - security update

    CVE-2025-58438 Debian Updated 20 November 2026
  • DSA-6035-1

    python-internetarchive - security update

    CVE-2025-58438 Debian Updated 20 November 2026
  • GHSA-wx3r-v6h7-frjp

    internetarchive Vulnerable to Directory Traversal in File.download()

    Critical CVE-2025-58438 PyPI Updated 27 October 2026
  • PYSEC-2026-357

    internetarchive Vulnerable to Directory Traversal in File.download()

    CVE-2025-58438 PyPI Updated 13 July 2026
  • UBUNTU-CVE-2025-58438

    internetarchive is a Python and Command-Line Interface to Archive.org In versions 5.5.0 and below, there is a directory traversal (path traversal) vulnerability in the File.download() method of the internetarchive…

    CVE-2025-58438 Ubuntu Updated 4 February 2026
  • USN-7989-1

    python-internetarchive vulnerability

    CVE-2025-58438 Ubuntu Updated 27 April 2026

References