← Vulnerability feed

Vulnerability record · CVE-2021-43857 · published 27 December 2021

CVE-2021-43857: Gerapy OS command injection enables remote code execution

Gerapy · Gerapy

Gerapy, a distributed crawler management framework, is vulnerable to remote code execution in versions prior to 0.9.8. The flaw is classified as OS command injection (CWE-78), and the vendor patched it in version 0.9.8. Because Gerapy is a management framework that runs crawler jobs, code execution on its host is a serious exposure.

8.8 CVSS 3.1 High EPSS 55% · top 1.0% CWE-78 · OS command injection
8.8CVSS 3.1 base score, v2 6.5
55%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Gerapy is a distributed crawler management framework. Gerapy prior to version 0.9.8 is vulnerable to remote code execution, and this issue is patched in version 0.9.8.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCVSS 8.8 with a public exploit and very high EPSS, but exploitation requires low-privileged authenticated access and there is no KEV listing.

What it is

Gerapy, a distributed crawler management framework, is vulnerable to remote code execution in versions prior to 0.9.8. The flaw is classified as OS command injection (CWE-78), and the vendor patched it in version 0.9.8. Because Gerapy is a management framework that runs crawler jobs, code execution on its host is a serious exposure.

Impact

An attacker who can reach the vulnerable functionality gains remote code execution on the Gerapy host, with high impact to confidentiality, integrity and availability per the CVSS vector. This can lead to full compromise of the management server and any crawler infrastructure it controls.

Attack surface

The CVSS vector is network-reachable (AV:N) with low attack complexity and no user interaction, but it requires low privileges (PR:L), so the attacker needs some authenticated access to the application. The description does not specify the exact endpoint or parameter involved.

Exploitation

A public exploit exists (Packet Storm reference tagged Exploit), and EPSS is 0.55331 (99th percentile), indicating high predicted exploitation activity. The CVE is not listed in CISA KEV, so there is no confirmed in-the-wild evidence in this record.

What to do

  • Upgrade Gerapy to version 0.9.8 or later, which contains the patch commit 49bcb19be5e0320e7e1535f34fe00f16a3cf3b28.
  • Restrict network access to the Gerapy management interface to trusted hosts only.
  • Enforce least privilege for Gerapy accounts and avoid granting access to untrusted users.
  • Run Gerapy under a dedicated low-privilege service account to limit the impact of command execution.

Detection

  • Monitor Gerapy host process creation for unexpected shell or command interpreter children spawned by the Gerapy service.
  • Review Gerapy application and web server logs for suspicious requests to management endpoints, especially from unusual source addresses.
  • Alert on outbound network connections from the Gerapy host that do not match normal crawler traffic.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-43857 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2020-7698Gerapy os command injection vulnerabilityThis affects the package Gerapy from 0 and before 0.9.3. The input being passed to Popen, via the project_configure endpoint, isn’t being sanitized.EPSS 1.7%8.8CVE-2021-32849Gerapy os command injection vulnerabilityGerapy is a distributed crawler management framework. Prior to version 0.9.9, an authenticated user could execute arbitrary commands. This issue is f…EPSS 7.6%8.8CVE-2026-86950Apple ipados out-of-bounds write vulnerabilityAn out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 26.7.1 and iPadOS 26.7.1, macOS Sequoia 15.8.1, …KEV8.8CVE-2026-53266Linux kernel ebtables SNAT out-of-bounds write in ARP rewriteThe ebtables SNAT target rewrites the ARP sender hardware address via skb_store_bits() without first making that range writable. When the ARP SHA byt…KEVEPSS 0.65%analysed8.8CVE-2026-87491Google Chrome V8 out-of-bounds write enables sandbox code executionChrome before 153.0.8010.36 contains an out-of-bounds write in the V8 JavaScript engine. A crafted HTML page can trigger the memory corruption, and b…KEVEPSS 3.1%analysed9.8CVE-2025-25249Fortinet FortiOS and FortiSwitchManager heap buffer overflow via crafted packetsA heap-based buffer overflow (CWE-122/CWE-787) in Fortinet FortiOS 6.4 through 7.6.3 and FortiSwitchManager 7.0 through 7.2.6 lets an unauthenticated…KEVEPSS 3.9%analysed7.8CVE-2026-83549SonicWall SMA1000 AMC OS Command InjectionThe SMA1000 Appliance Management Console contains an OS command injection flaw (CWE-78) that lets an authenticated administrator execute arbitrary op…KEVEPSS 11%analysed10.0CVE-2026-49869Kestra OSS auth bypass via path suffix match enables RCEKestra OSS AuthenticationFilter whitelists the public config endpoint using request.getPath().endsWith("/configs"), a suffix match instead of an exac…KEVEPSS 2.1%analysed

Source: NIST National Vulnerability Database (record CVE-2021-43857), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.