Critical Malicious Code Vulnerability in reqest Package
Summary
MAL-2025-966: Malicious code in reqest (PyPI). Affects reqest versions 0.0.1 – 2.32.3. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The reqest package is a Python library designed for making HTTP requests simpler and more intuitive. It provides a user-friendly interface for sending requests and handling responses, making it a popular choice among developers. However, recent findings have revealed that certain versions of this package are compromised, exposing users to potential security threats.
Vulnerability Detail
The vulnerability identified as MAL-2025-966 involves malicious code embedded within specific versions of the reqest package. This code can lead to unauthorized access, data breaches, or other harmful actions when the compromised package is used in applications. The affected versions include 0.0.1, 2.32.2, and 2.32.3, which were sourced from the PyPI repository. The origin of this vulnerability is linked to a malicious actor who has injected harmful code into the package, posing significant risks to users who have not updated to a secure version.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall reqest
If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
As a temporary measure, users can avoid using the affected versions of the reqest package. Instead, consider using alternative libraries for making HTTP requests, such as 'requests' or 'httpx', until the vulnerability is fully resolved.
Conclusion
The reqest package has been found to contain malicious code in certain versions, posing significant security risks to users. It is crucial to update to a secure version of the package and consider alternative libraries if immediate updates are not feasible. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.
See every vulnerability recorded for reqest →
FAQ
The affected versions are 0.0.1, 2.32.2, and 2.32.3.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If you cannot update the package right away, consider using alternative libraries for HTTP requests or implementing additional security measures in your application.
Yes, updating to the latest version of the reqest package will resolve the vulnerability. Always check for the latest version on PyPI.
The vulnerability was identified by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.
Related vulnerabilities
Recent vulnerabilities recorded for reqest.