CVE-2025-58438

Source
https://cve.org/CVERecord?id=CVE-2025-58438
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58438.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-58438
Aliases
Downstream
Published
2025-09-06T18:45:55.833Z
Modified
2025-12-05T10:20:37.213602Z
Severity
  • 9.4 (Critical) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CVSS Calculator
Summary
internetarchive is vulnerable to Directory Traversal through file downloads
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58438.json"
}
References

Affected packages

Git / github.com/jjjake/internetarchive

Affected ranges

Type
GIT
Repo
https://github.com/jjjake/internetarchive
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v0.*
v0.8.3
v0.9.1
v0.9.3
v0.9.4
v0.9.5
v0.9.6
v0.9.7
v0.9.8
v1.*
v1.0.0
v1.0.1
v1.0.10
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.7
v1.0.8
v1.0.9
v1.1.0
v1.2.0
v1.3.0
v1.4.0
v1.5.0
v1.6.0
v1.7.0
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.7.5
v1.7.6
v1.7.7
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.9.0
v1.9.2
v1.9.3
v1.9.4
v1.9.5
v1.9.6
v1.9.9
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.2.0
v2.3.0
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.1.0
v3.2.0
v3.3.0
v3.4.0
v3.5.0
v3.6.0
v3.7.0
v4.*
v4.0.1
v4.1.0
v5.*
v5.0.0
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.0.5
v5.1.0
v5.2.0
v5.2.1
v5.3.0
v5.3.1
v5.4.0
v5.4.1
v5.5.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58438.json"