{"cve":"CVE-2025-58438","nvd":{"published":"2025-09-06T19:15:38.533","modified":"2026-06-17T09:44:27.547","status":"Deferred","description":"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.","cvss_v4":{"vector":"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","score":9.4},"cvss_v3":null,"cwes":["CWE-22"],"references":["https://github.com/jjjake/internetarchive/commit/cba2d459e10a9489fb35caeba0b03e80f5f5d7c2","https://github.com/jjjake/internetarchive/releases/tag/v5.5.1","https://github.com/jjjake/internetarchive/security/advisories/GHSA-wx3r-v6h7-frjp","https://lists.debian.org/debian-lts-announce/2025/09/msg00030.html"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:08:41.295252406+00:00"},"epss":{"cve":"CVE-2025-58438","score":0.0159,"percentile":0.75658,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-wx3r-v6h7-frjp","url":"https://osv.dev/vulnerability/GHSA-wx3r-v6h7-frjp","summary":"internetarchive Vulnerable to Directory Traversal in File.download()","modified":"2026-10-27T17:30:37.974244994Z","packages":[{"ecosystem":"PyPI","name":"internetarchive","purl":"pkg:pypi/internetarchive","ranges":["<5.5.1"],"fixed":["5.5.1"]}]},{"id":"PYSEC-2026-357","url":"https://osv.dev/vulnerability/PYSEC-2026-357","summary":"internetarchive Vulnerable to Directory Traversal in File.download()","modified":"2026-07-13T16:15:26.900634995Z","packages":[{"ecosystem":"PyPI","name":"internetarchive","purl":"pkg:pypi/internetarchive","ranges":["<5.5.1"],"fixed":["5.5.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}