
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-58438 is a critical directory traversal vulnerability discovered in the File.download() method of the internetarchive Python library versions 5.5.0 and below. The vulnerability was disclosed on September 5, 2025, affecting all operating systems, with Windows systems being particularly vulnerable. The issue stems from improper sanitization of user-supplied filenames and inadequate validation of download paths (GitHub Advisory).
The vulnerability exists in the File.download() method which fails to properly sanitize user-supplied filenames and validate final download paths. Maliciously crafted filenames containing path traversal sequences (e.g., ../../../../windows/system32/file.txt) or illegal characters could cause files to be written outside the intended target directory. The vulnerability has received a CVSS 4.0 Base Score of 9.4 CRITICAL with 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 (NVD).
The vulnerability could allow attackers to overwrite critical system files or application configuration files, potentially leading to denial of service, privilege escalation, or remote code execution, depending on the context in which the library is used. The impact is particularly severe for Windows systems, though all operating systems are affected (GitHub Advisory).
The vulnerability has been patched in version 5.5.1 of the internetarchive library. Users are strongly urged to upgrade immediately to this version. For users who cannot upgrade, there is no direct workaround, though they could implement their own custom download function with proper filename sanitization and path validation. However, upgrading to the patched version is the only safe and supported solution (GitHub Release).
The security community has responded promptly to the disclosure, with the fix being implemented and released quickly. The GitHub release of version 5.5.1 has received positive reactions from the community, including thumbs up, heart, and eyes reactions, indicating appreciation for the quick security response (GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."