Vulnerabilities

Vulnerability · CVE-2025-58438

internetarchive Vulnerable to Directory Traversal in File.download()

Published Sep 5, 2025 · catalog updated Oct 27, 2026 · internetarchive Vulnerable to Directory

Last checked Oct 30, 2026. A connected source was read within the last 7 days.

Check if you run it

No confirmed exploitation is on record for CVE-2025-58438. EPSS is 1.59%. Act only if a listed version of internetarchive Vulnerable to Directory is installed.

Gaps on this record

  • The stored product name is a package slug. The name on this page is taken from the title (internetarchive Vulnerable to Directory).
  • No vendor fix or required action is stored. Compare the linked advisory before you change production.
Severity
Critical—
Known exploitation
Not in CISA/VulnCheck KEV
EPSS
1.59%
Remediation
Advisory link
Affected products
PyPI internetarchive

### Impact **What kind of vulnerability is it?** This is a **Critical** severity directory traversal (path traversal) vulnerability in the method of the library. **Who is impacted?** All users of the library versions are impacted. The vulnerability is particularly critical for users on **Windows systems**, but all operating systems are affected. **Description of the vulnerability:** The vulnerability existed because the method did not properly sanitize user-supplied filenames or validate the final download path. A maliciously crafted filename could contain path traversal sequences (e.g., ) or illegal characters that, when processed, would cause the file to be written outside of the intended target directory. **Potential Impact:** 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. ### Patches **Has the problem been patched?** Yes, the problem has been patched. **What versions should users upgrade to?** Users must upgrade to version **5.5.1** or later. ### Workarounds Is there a way for users to fix or remediate the vulnerability without upgrading? There is no direct workaround that does not involve upgrading the library. The vulnerability is in the core logic of the file download process. The only alternative for users who absolutely cannot upgrade is to implement their own custom download function that: 1. Manually sanitizes all filenames using a robust method. 2. Validates that the resolved absolute path of the download target is within the intended directory before writing any files. However, this essentially re-implements the fix and is not recommended. Upgrading to the patched version is the only safe and supported solution. ### References - [Release Notes for v5.5.1](https://github.com/jjjake/internetarchive/releases/tag/v5.5.1) - [Commit with the fix](https://github.com/jjjake/inte

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • PyPI internetarchive0 → 5.5.1

How to fix CVE-2025-58438

  • Upgrade

    CVE-2025-58438 lists a fix boundary at 5.5.1. Compare the installed build with that boundary before you change production.

  • Version check

    Fixed in 5.5.1

  • Advisory

    Open the cve_org record and follow its fix.

  • Official advisories

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

No confirmed exploitation is on record for CVE-2025-58438. EPSS is 1.59%. Act only if a listed version of internetarchive Vulnerable to Directory is installed.

Which versions are affected?

Compare what you have installed with 0 → 5.5.1. Compare the installed version with the linked vendor advisory before you change production.

What should an analyst verify?

CWE-22: Path Traversal. EPSS 1.59%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Sep 5, 2025 · PyPA Advisory Database

    Detected

    ### Impact **What kind of vulnerability is it?** This is a **Critical** severity directory traversal (path traversal) vulnerability in the method of the library. **Who is impacted?** All users of the library versions are impacted. The vulnerability is particularly critical for users on **Windows systems**, but all operating systems are affected. **Description of the vulnerability:** The vulnerabil

  2. Oct 27, 2026 · PyPA Advisory Database

    Fix available

    internetarchive fixed in 5.5.1

  3. Oct 27, 2026 · PyPA Advisory Database

    Fix available

    internetarchive fixed in 5.5.1

  4. Oct 27, 2026 · PyPA Advisory Database

    Updated

    ### Impact **What kind of vulnerability is it?** This is a **Critical** severity directory traversal (path traversal) vulnerability in the method of the library. **Who is impacted?** All users of the library versions are impacted. The vulnerability is particularly critical for users on **Windows systems**, but all operating systems are affected. **Description of the vulnerability:** The vulnerabil

Sources

References

Freshness

Last verified in this catalog Oct 30, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • PyPA Advisory DatabaseOct 28, 2026
  • CVE.orgOct 27, 2026