CVE-2023-0297: Code Injection in pyload-ng

pyload-ng Updated 02 Oct 2025

Summary

14/01/2023
Yes i
Critical
9.8

CVE-2023-0297: Code Injection in pyload-ng. Affects pyload-ng versions < 0.5.0b3.dev31. Fixed in 0.5.0b3.dev31. 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 Your last release was probably never penetration tested 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 a Python package available on PyPI that provides a download manager for various file hosting websites. It is designed to be a lightweight and efficient tool for managing downloads. However, a code injection vulnerability has been discovered in versions prior to 0.5.0b3.dev31. This vulnerability allows an attacker to execute arbitrary code on the server hosting pyload-ng, potentially leading to remote code execution and unauthorized access to sensitive data.

Vulnerability Detail

The code injection vulnerability in pyload-ng arises from improper input validation and sanitization. An attacker can exploit this vulnerability by injecting malicious code into user-supplied input, such as URLs or filenames. When this input is processed by pyload-ng, the injected code is executed within the context of the application, enabling the attacker to execute arbitrary commands and potentially gain control over the server. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the affected system.

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.dev31

This is the first release that contains the fix.

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

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

Workaround

As a temporary workaround, users can implement input validation and sanitization measures within their own code to mitigate the risk of code injection. It is crucial to thoroughly validate and sanitize any user-supplied input before processing it with pyload-ng. This can be achieved by using appropriate input validation libraries or implementing custom validation logic. Here is an example of input validation using the requests library:

import requests

url = input('Enter URL: ')

Validate and sanitize input

if not url.startswith('http://') and not url.startswith('https://'): print('Invalid URL') exit()

Process the validated input

response = requests.get(url)

Continue with pyload-ng operations

Conclusion

The code injection vulnerability in pyload-ng prior to version 0.5.0b3.dev31 poses a significant risk to the security of the affected systems. It is crucial to update to the latest version to mitigate this vulnerability. Failure to do so may result in remote code execution and unauthorized access to sensitive data. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for pyload-ng →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary code on the server hosting pyload-ng, potentially leading to remote code execution and unauthorized access to sensitive data. It poses a significant risk to the confidentiality, integrity, and availability of the affected system.

No, only versions prior to 0.5.0b3.dev31 are affected. It is recommended to update to the latest version to mitigate the vulnerability.

At the time of this advisory, there are no known public exploits specifically targeting this vulnerability. However, it is crucial to apply the recommended security patch as soon as possible to prevent any potential exploitation.

Yes, this vulnerability can be exploited remotely. An attacker can inject malicious code through user-supplied input, such as URLs or filenames, and execute arbitrary commands on the server hosting pyload-ng.

Yes, the CVSS score for this vulnerability is 9.8, indicating a critical severity level.

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.dev31

This is the first release that contains the fix.

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

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