Skip to main content

Gerapy CVE-2026-16209

| EUVDEUVD-2026-45420 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-07-19 VulDB GHSA-2qxj-c4c6-p34f
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-exposed Gerapy instance
  2. Delivery
    Send unauthenticated POST to /project/upload endpoint
  3. Exploit
    Upload zip archive with path-traversal member entries
  4. Execution
    Zip Slip extracts files to arbitrary server paths
  5. Persist
    Overwrite executable script or cron job
  6. Impact
    Achieve remote code execution

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The Gerapy web interface must be network-reachable from the attacker - no authentication, no special feature flag, no non-default configuration, and no user interaction are required. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms this is exploitable against default Gerapy installations whenever the HTTP service is accessible. The primary limiting factor is deployment exposure: Gerapy is typically run as a developer tool on internal or localhost-bound interfaces; instances bound to 0.0.0.0 or exposed via a public-facing server are at direct risk. A secondary limit on the combined Zip Slip impact is the OS-level permission of the Gerapy process account - arbitrary file writes are constrained to paths writable by that user. No specific spider configuration, Scrapy version, or Gerapy feature needs to be enabled beyond the default application startup.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) is accurate: the flaw requires no authentication, no special configuration, no attack complexity, and no user interaction, making it trivially exploitable over any reachable network. The assigned CVSS 4.0 score of 6.9 with VC:L/VI:L/VA:L appears conservative relative to the actual unpatched state - the co-resident Zip Slip vulnerability means an unauthenticated attacker can write files to arbitrary paths with the process's privilege level, which exceeds a Low integrity rating; VI:H would better reflect combined impact. The E:P tag confirms a public POC exists (GitHub issue #317), lowering the exploitation skill barrier to near zero. No EPSS score was provided in the input data, preventing probability-based comparison. The absence from CISA KEV indicates no confirmed mass exploitation at time of analysis, which aligns with Gerapy's niche deployment profile - the product is primarily used in developer and internal scraping environments, materially limiting aggregate exposure despite the trivial exploitability. For any Gerapy instance bound to an untrusted or public network, this should be treated as a critical priority.

Exploit ScenarioDerived

An unauthenticated attacker discovers an internet-exposed Gerapy instance and sends a crafted HTTP POST directly to the project upload endpoint, bypassing all authentication checks due to the commented-out decorator. In unpatched versions, the attacker packages a zip archive containing entries with ../ path components, causing the server to extract attacker-controlled files to directories outside the Gerapy projects folder - potentially overwriting cron jobs, Python scripts, or configuration files to achieve persistent code execution. A public POC demonstrating the authentication bypass is available in GitHub issue #317.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 19, 2026

Unauthenticated remote access to the project upload endpoint in Gerapy up to 0.9.13 is possible because the @permission_classes([IsAuthenticated]) decorator was commented out in gerapy/server/core/views.py, permitting any network-reachable attacker to submit arbitrary zip archives without credentials. Source code review of patch commit bd4891c6 (PR #319) reveals that the same unpatched endpoint also contained a Zip Slip (path traversal) flaw in the archive extraction logic, meaning the combined exposure allows unauthenticated arbitrary file writes to any path the Gerapy process can reach. A public proof-of-concept has been disclosed via GitHub issue #317; this CVE is not currently listed in the CISA KEV catalog.

RemediationAI

Upgrade to a version of Gerapy that includes commit bd4891c60315f17611a3b7a651ffe0fba7cfe71e, available via PR #319 at https://github.com/Gerapy/Gerapy/pull/319. A specific tagged release version containing this fix was not independently confirmed - operators must verify their installed version incorporates this commit (e.g., via pip show gerapy and cross-referencing the installed package against the patched source). As an immediate compensating control, restrict network access to the Gerapy web interface using host-based firewall rules to allow only trusted IP ranges, or place the service behind a reverse proxy (e.g., nginx) with auth_basic or IP allowlisting - this prevents unauthenticated network access to the upload endpoint without modifying application code. If the project upload feature is not actively used, disabling or restricting access to the /project/upload route at the proxy layer eliminates the attack surface entirely. Binding Gerapy to localhost (127.0.0.1) rather than 0.0.0.0 is an effective network-level mitigation for installations not requiring remote access.

Affected VersionsENISA

gerapy 0.9.4
gerapy 0.9.6
gerapy 0.9.7
gerapy 0.9.3
gerapy 0.9.10
gerapy 0.9.13
gerapy 0.9.9
gerapy 0.9.0
gerapy 0.9.8
gerapy 0.9.5
gerapy 0.9.11
gerapy 0.9.12
gerapy 0.9.2
gerapy 0.9.1

Affected Packages

euvd gerapy no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Gerapy is a Python-based distributed web spider management platform built on the Scrapy framework, providing a browser-accessible interface for creating, uploading, and scheduling spider projects. The vulnerable component is the project_upload view function in gerapy/server/core/views.py, where the Django REST Framework @permission_classes([IsAuthenticated]) decorator was commented out, constituting a textbook CWE-306 (Missing Authentication for Critical Function) defect. The CPE cpe:2.3:a:n/a:gerapy:*:*:*:*:*:*:*:* covers all versions through 0.9.13. Critically, the patch commit bd4891c6 simultaneously restores the authentication guard and adds Zip Slip mitigation: the old extraction code called zip_ref.extractall(PROJECTS_FOLDER) without validating member paths, while the fixed code uses os.path.realpath() to confirm each extracted entry remains within the intended projects directory. This confirms that unpatched versions expose both an authentication bypass and an uncontrolled archive extraction path traversal (CWE-22) in the same code path.

Know when Gerapy gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 5.5 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 8.6 HIGH

PR:N confirmed by commented-out auth decorator; I:H reflects co-resident Zip Slip enabling arbitrary filesystem writes in the same unpatched code path.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
CVSS changed
Jul 19, 2026 - 04:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)
CVE Published
Jul 19, 2026 - 03:00 cve.org
MEDIUM 6.9

DescriptionCVE.org

A vulnerability has been found in Gerapy up to 0.9.13. The impacted element is an unknown function of the file gerapy/server/core/views.py of the component Project Upload Endpoint. Such manipulation leads to missing authentication. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The name of the patch is bd4891c60315f17611a3b7a651ffe0fba7cfe71e. Applying a patch is advised to resolve this issue.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Low
niche Python spider management tool, primarily developer-facing deployments
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy