cve.bz

CVE-2025-58438 jjjake internetarchive: Path traversal

9.4 criticalEPSS 1.6%Fix available

Critical (9.4) in jjjake internetarchive. EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in internetarchive 5.5.1.

On this page
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.

Severity

CVSS 4.0

9.4 critical
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
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 76th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2025-09-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-58438 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-58438?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-58438?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-58438 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
jjjake internetarchive< 5.5.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wx3r-v6h7-frjpPyPIinternetarchive<5.5.15.5.1
PYSEC-2026-357PyPIinternetarchive<5.5.15.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-internetarchive1.9.9-1+deb11u1DLA-4314-1
Debian12python-internetarchive3.3.0-2~deb12u1DEBIAN-CVE-2025-58438 DSA-6035-1
Debian13python-internetarchive5.4.0-2~deb13u1DEBIAN-CVE-2025-58438 DSA-6035-1
Debian14python-internetarchive5.5.1-1DEBIAN-CVE-2025-58438
Ubuntu22.04:LTSpython-internetarchive1.9.9-1ubuntu0.1UBUNTU-CVE-2025-58438 USN-7989-1
Ubuntu25.10python-internetarchive5.4.0-1ubuntu0.1UBUNTU-CVE-2025-58438 USN-7989-1
UbuntuPro:20.04:LTSpython-internetarchive1.9.0-3ubuntu0.1~esm1UBUNTU-CVE-2025-58438 USN-7989-1
UbuntuPro:24.04:LTSpython-internetarchive3.5.0-1ubuntu0.1~esm1UBUNTU-CVE-2025-58438 USN-7989-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON