# Gerapy may cause remote code execution (Critical 9.8)

🐍

🐍 PyPI

Not in CISA KEV

CRITICAL severity

# Gerapy may cause remote code executionGHSA-9w7f-m4j4-j3xw

CRITICAL [Fix: Gerapy/Gerapy@49bcb19](https://github.com/Gerapy/Gerapy/commit/49bcb19be5e0320e7e1535f34fe00f16a3cf3b28)

GHSA-9w7f-m4j4-j3xw is a critical-severity (CVSS 9.8) OS Command Injection vulnerability in gerapy. 4 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for gerapy — see the affected versions and patch details below.

Also known as[CVE-2021-43857](/vulnerability/CVE-2021-43857)PYSEC-2021-867

Published

Jan 6, 2022

Updated

Jul 8, 2026

Affected

1 pkg

Patched

1 / 1

Exploits

4 known

Exploitation data as of Nov 24, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

55.6%probability of exploitation in next 30 days

High Risk0.00%

Lower risk than most CVEs99th percentile — riskier than 99% of all scored CVEsHighest risk

47.8%51.0%54.2%57.4%49.6%55.6%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

1 pkg affected

🐍`gerapy`

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

## Description

#### Impact

project\_configure function exist remote code execute in Gerapy < 0.9.8

#### Patches

Patched in version 0.9.8, please install with:

```
pip3 install -U gerapy
```

## Affected Packages

1 total 1 fixed

Ecosystem

Package

Vulnerable range

Fix

🐍PyPI

`gerapy` 

all versions

0.9.8`pip install --upgrade 'gerapy==0.9.8'`

## Affected Products

1 product · 1 configurations

Application

`gerapy`gerapy

< 0.9.8

range

Exploits & PoCs

4

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-50640remotepython

Gerapy 0.9.7 - Authenticated Remote Code Execution (RCE)

by Jeremiasz Pluta · Jan 5, 2022

[Exploit-DB](https://www.exploit-db.com/exploits/50640) [Source](https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/python/remote/50640.py)

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for gerapy, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update gerapy to 0.9.8 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9w7f-m4j4-j3xw is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
    

## Frequently Asked Questions

\### Impact project\_configure function exist remote code execute in Gerapy < 0.9.8 ### Patches Patched in version 0.9.8, please install with: \`\`\` pip3 install -U gerapy \`\`\`

O3 Security · Impact-Aware SCA

### Is GHSA-9w7f-m4j4-j3xw in your dependencies?

Find it across PyPI, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)