Read the docs
TI-2025-36197 Aliases CVE-2025-58438GHSA-wx3r-v6h7-frjp

internetarchive is vulnerable to Directory Traversal through file downloads

Priority MEDIUM 52CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01602 75th percentileScored 2026-11-07
Fix Fixed internetarchive (jjjake): 5.5.1internetarchive (PyPI): 5.5.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jjjakeinternetarchivebefore 5.5.15.5.1Patch availableCNA
—internetarchive (PyPI)before 5.5.15.5.1Patch availableGHSA-wx3r-v6h7-frjp
  • internetarchive Vendorjjjake Affected before 5.5.1 Fixed in 5.5.1 Patch available CNA
  • internetarchive (PyPI) Vendor— Affected before 5.5.1 Fixed in 5.5.1 Patch available GHSA-wx3r-v6h7-frjp

Remediation

  • Fix · CNA internetarchive (jjjake) Fixed in 5.5.1
  • Fix · GHSA-wx3r-v6h7-frjp internetarchive (PyPI) Fixed in 5.5.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-58438
  2. 2026-10-03 Alias added: GHSA-wx3r-v6h7-frjp

References

Sources