CVE-2025-54802: pyload-ng Path Traversal Vulnerability Leading to Remote Code Execution

pyload-ng Updated 02 Oct 2025

Summary

04/08/2025
Yes i
Critical
9.8

CVE-2025-54802: Path Traversal in pyLoad-ng CNL Blueprint via package parameter allows Arbitrary File Write leading to Remote Code Execution (RCE) The addcrypted endpoint in pyload-ng suffers from an unsafe path construction vulnerabili... Affects pyload-ng versions < 0.5.0b3.dev90. Fixed in 0.5.0b3.dev90. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

pyload-ng is an open-source download manager that allows users to manage and automate the downloading of files from various sources. It is designed to support a wide range of file hosting services and offers features such as link encryption and automatic extraction of archives. However, a critical vulnerability has been identified in the CNL Blueprint of pyload-ng, which exposes the application to path traversal attacks, allowing unauthorized file writes.

Vulnerability Detail

The vulnerability arises from an unsafe path construction in the 'addcrypted' endpoint of pyload-ng. Specifically, the 'package' parameter can be manipulated to traverse the file system, enabling attackers to write arbitrary files outside the intended storage directory. This flaw can lead to severe consequences, including the ability to overwrite critical system files, such as cron jobs and systemd services, resulting in remote code execution with root privileges. The vulnerable code is located in 'src/pyload/webui/app/blueprints/cnl_blueprint.py'.

How To Fix

Latest published version: 0.5.0b3.dev101 as of 23 Oct 2026

pip install --upgrade "pyload-ng==0.5.0b3.dev101"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.0b3.dev90

This is the first release that contains the fix.

pip install --upgrade "pyload-ng==0.5.0b3.dev90"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can restrict access to the 'addcrypted' endpoint by implementing authentication mechanisms or by disabling the endpoint until the package is updated. Additionally, ensure that the application runs with the least privileges necessary to limit the impact of potential exploits.

Conclusion

The path traversal vulnerability in pyload-ng (CVE-2025-54802) poses a significant risk, allowing unauthorized file writes and remote code execution. Users are strongly advised to update to the patched version to secure their applications. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for pyload-ng →

Share this vulnerability

FAQ

CVE-2025-54802 is a critical vulnerability in pyload-ng that allows path traversal, enabling unauthorized file writes and potential remote code execution.

You can use Vulert, which monitors open-source vulnerabilities in your software. By checking your Pipfile.lock, Vulert can alert you in real-time. You can also use the Vulert playground to check for vulnerabilities without signup.

If exploited, this vulnerability can allow attackers to execute arbitrary code on the server, potentially leading to a full system compromise.

Yes, the vulnerability has been patched in version 0.5.0b3.dev90 of pyload-ng. It is recommended to update to this version or later.

If immediate updating is not possible, implement access controls to the affected endpoint and run the application with minimal privileges to mitigate risks.

Related vulnerabilities

Recent vulnerabilities recorded for pyload-ng.

How To Fix

Latest published version: 0.5.0b3.dev101 as of 23 Oct 2026

pip install --upgrade "pyload-ng==0.5.0b3.dev101"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.5.0b3.dev90

This is the first release that contains the fix.

pip install --upgrade "pyload-ng==0.5.0b3.dev90"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback