CVE-2025-58438
published critical CVSS 4.0 · 9.4internetarchive is vulnerable to Directory Traversal through file downloads
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| jjjake | — | internetarchive< 5.5.1 | Affected | Not stated | GitHub_M |
| Ubuntu | focal | internetarchive | Advisory build | 1.9.0-3ubuntu0.1~esm1 | USN-7989-1 |
| Debian | bookworm | python-internetarchive | Advisory build | 3.3.0-2~deb12u1 | DSA-6035-1 |
| Ubuntu | jammy | internetarchive | Advisory build | 1.9.9-1ubuntu0.1 | USN-7989-1 |
| Ubuntu | noble | internetarchive | Advisory build | 3.5.0-1ubuntu0.1~esm1 | USN-7989-1 |
| Ubuntu | questing | internetarchive | Advisory build | 5.4.0-1ubuntu0.1 | USN-7989-1 |
| Debian | bullseye | python-internetarchive | Advisory build | 1.9.9-1+deb11u1 | DLA-4314-1 |
| Debian | trixie | python-internetarchive | Advisory build | 5.4.0-2~deb13u1 | DSA-6035-1 |
Show 8 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | python-internetarchive | Advisory build | 1.9.0-3ubuntu0.1~esm1 | USN-7989-1 |
| Ubuntu | focal | python3-internetarchive | Advisory build | 1.9.0-3ubuntu0.1~esm1 | USN-7989-1 |
| Ubuntu | jammy | python-internetarchive | Advisory build | 1.9.9-1ubuntu0.1 | USN-7989-1 |
| Ubuntu | jammy | python3-internetarchive | Advisory build | 1.9.9-1ubuntu0.1 | USN-7989-1 |
| Ubuntu | noble | python-internetarchive | Advisory build | 3.5.0-1ubuntu0.1~esm1 | USN-7989-1 |
| Ubuntu | noble | python3-internetarchive | Advisory build | 3.5.0-1ubuntu0.1~esm1 | USN-7989-1 |
| Ubuntu | questing | python-internetarchive | Advisory build | 5.4.0-1ubuntu0.1 | USN-7989-1 |
| Ubuntu | questing | python3-internetarchive | Advisory build | 5.4.0-1ubuntu0.1 | USN-7989-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.4 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| jjjake | internetarchive | < 5.5.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- 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
Provider assertions
3GitHub_M · cna
internetarchive is vulnerable to Directory Traversal through file downloads
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e1f5f4c114007e052506c790e3eb02db7eb83f6a02847ef56d66ecbf292dcab8
- Ingested
- 23 Sep 2026, 08:53:54 UTC
- Source record
- Official CVE record