CVE-2025-58438

EUVD-2025-27084
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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 72.31%
Debian logo
Debian Releases
Debian Product
Codename
python-internetarchive
bookworm
3.3.0-2~deb12u1
fixed
bookworm (security)
3.3.0-2~deb12u1
fixed
bullseye
vulnerable
bullseye (security)
1.9.9-1+deb11u1
fixed
forky
5.11.0-1
fixed
sid
5.11.0-1
fixed
trixie
5.4.0-2~deb13u1
fixed
trixie (security)
5.4.0-2~deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-internetarchive
focal
Fixed 1.9.0-3ubuntu0.1~esm1
released
jammy
Fixed 1.9.9-1ubuntu0.1
released
noble
Fixed 3.5.0-1ubuntu0.1~esm1
released
plucky
ignored
questing
Fixed 5.4.0-1ubuntu0.1
released
resolute
not-affected