---
id: CVE-2021-32849
aliases:
  - GHSA-756h-r2c9-qp5j
  - PYSEC-2022-17
title: An authenticated user can execute arbitrary command in Gerapy
summary: An authenticated user can execute arbitrary command in Gerapy
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
vendor: gerapy
product: gerapy
ecosystem: pip
affected:
  - gerapy < 0.9.9
patched:
  - gerapy 0.9.9
published: '2022-01-06'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-756h-r2c9-qp5j'
references:
  - url: 'https://github.com/Gerapy/Gerapy/security/advisories/GHSA-756h-r2c9-qp5j'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-32849'
  - url: 'https://github.com/Gerapy/Gerapy/issues/197'
  - url: 'https://github.com/Gerapy/Gerapy/issues/217'
  - url: 'https://github.com/Gerapy/Gerapy'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/gerapy/PYSEC-2022-17.yaml
  - url: >-
      https://lgtm.com/projects/g/Gerapy/Gerapy?mode=tree&ruleFocus=1505994646253
  - url: 'https://securitylab.github.com/advisories/GHSL-2021-076-gerapy'
tags:
  - osv
  - pip
  - exploit-available
epss: 0.0765
epssPercentile: 0.94355
ingestedAt: '2026-07-08T18:25:46.763Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/lowkey0808/cve-2021-32849'
  checkedAt: '2026-09-25T08:20:40.142Z'
exploitAvailable: true
---

## Overview

### Impact

An authenticated user can execute arbitrary command, see more in https://github.com/Gerapy/Gerapy/issues/211.

### Patches

Fixed in 0.9.9

## Affected packages

- `gerapy < 0.9.9`

## Remediation

Upgrade to a patched release:

- `gerapy 0.9.9`
