CVE-2021-43857: Gerapy < 0.9.8 Remote Code Execution
Summary
CVE-2021-43857: Gerapy may cause remote code execution. Affects gerapy versions < 0.9.8. Fixed in 0.9.8. 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
Gerapy is an open-source Python package available on PyPI that provides a web-based user interface for managing and monitoring Scrapy projects. It allows users to create, configure, and run web scraping tasks. Gerapy versions prior to 0.9.8 are vulnerable to remote code execution due to a flaw in the project_configure function.
Vulnerability Detail
The vulnerability in Gerapy < 0.9.8 arises from the project_configure function, which can be exploited to execute arbitrary code remotely. This can lead to unauthorized access, data breaches, and potential compromise of the host system. The vulnerability has a CVSS score of 9.8, indicating its critical severity.
How To Fix
Latest published version: 0.9.13 as of 22 Oct 2026
pip install --upgrade "gerapy==0.9.13"
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.9.8
This is the first release that contains the fix.
pip install --upgrade "gerapy==0.9.8"
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to update Gerapy to the patched version 0.9.8 as soon as possible.
Conclusion
The vulnerability in Gerapy < 0.9.8 allows remote code execution, posing a significant risk to the security and integrity of the system. It is highly recommended to update Gerapy to version 0.9.8 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for gerapy →
FAQ
Gerapy is an open-source Python package that provides a web-based user interface for managing and monitoring Scrapy projects.
The vulnerability in Gerapy < 0.9.8 allows remote code execution, which can lead to unauthorized access, data breaches, and potential compromise of the host system.
To fix the vulnerability, update Gerapy to version 0.9.8 or later by running the command 'pip3 install -U gerapy'.
There is no known workaround for this vulnerability. It is crucial to update Gerapy to the patched version 0.9.8 as soon as possible.
The vulnerability has a CVSS score of 9.8, indicating its critical severity.
References
Related vulnerabilities
Recent vulnerabilities recorded for gerapy.