CVE-2025-54140
Python vulnerability analysis and mitigation

Overview

CVE-2025-54140 is a path traversal vulnerability discovered in pyLoad, a free and open-source Download Manager written in Python. The vulnerability was identified in version 0.5.0b3.dev89 and affects the /json/upload endpoint. The issue was disclosed on July 21, 2025, and has been fixed in version 0.5.0b3.dev90 (GitHub Advisory).

Technical details

The vulnerability is classified as a path traversal issue (CWE-22) with a CVSS v3.1 base score of 7.5 (High). The attack vector is network-based with low attack complexity, requiring no privileges or user interaction. The vulnerability exists in the /json/upload endpoint where the application fails to properly sanitize the filename parameter, allowing attackers to manipulate file paths using '../' sequences (GitHub Advisory).

Impact

The vulnerability allows authenticated attackers to write arbitrary files to any location on the system accessible to the pyLoad process. This can lead to several severe consequences including Remote Code Execution (RCE), local privilege escalation, system-wide compromise, and the establishment of persistence through backdoors (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.5.0b3.dev90 through the implementation of proper filename sanitization using werkzeug.utils.secure_filename(). Users are advised to upgrade to this version or later to protect against this vulnerability (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management