CVE-2026-42607

Description

Grav is a file-based Web platform. Prior to 2.0.0-beta.2, an authenticated user with administrative privileges can achieve Remote Code Execution (RCE) by uploading a specially crafted ZIP file through the "Direct Install" tool. While the system attempts to block direct .php file uploads, it fails to inspect the contents of uploaded ZIP archives. Once a malicious plugin is extracted, it can execute arbitrary PHP code or drop a persistent web shell on the server. This vulnerability is fixed in 2.0.0-beta.2.

Severity
CRITICAL
CVSS v3
9.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
4.382%
chance of exploitation in the next 30 days
higher than 91.4% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impacttotal
Scored2026-05-12

Timeline

  1. 2026-05-05GitHub advisory published (GHSA-w48r-jppp-rcfw)6 days before publication
  2. 2026-05-11Published by the CNA14:58 UTC
  3. 2026-05-12CISA SSVC decision recorded1 day after publication
  4. 2026-05-26First Exploit-DB entry (EDB-ID 52578)15 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 52578webappsphp2026-05-26no

GitHub advisory GHSA-w48r-jppp-rcfw, affected packages:

PackageVulnerable versionsFixed in
Packagist getgrav/gravbefore 2.0.0-beta.22.0.0-beta.2

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
getgrav grav

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources