patchminder
Proof of concept · Exploit-DB CVE-2026-42607

Remote code executionin Getgrav Grav.

Published 11 May 2026 · Updated 12 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Critical 9.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 4.4% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 2.0.0-beta.2 or later
In plain words

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.

What to do now
  • Upgrade grav to 2.0.0-beta.2 or later.
  • Upgrade getgrav/grav (Packagist) to 2.0.0-beta.2 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
grav
before 2.0.0-beta.2
2.0.0-beta.2
CVE record
getgrav/grav (Packagist)
before 2.0.0-beta.2
2.0.0-beta.2
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 29 Apr 2026
    CVE ID reserved by GitHub_M.
  2. 11 May 2026
    Published in the CVE List.
  3. 12 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
1 entry
GitHub proof of concepts
None known
Exploit-DBEDB-ID 52578web application exploit for php, published 26 May 2026

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other Grav vulnerabilities

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-42607: Remote code execution in Getgrav Grav. https://patchminder.com/cve/cve-2026-42607/ (accessed 5 December 2026).