Remote code executionin Getgrav Grav.
Proof of concept public (Exploit-DB).
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.
- Upgrade grav to 2.0.0-beta.2 or later.
- Upgrade getgrav/grav (Packagist) to 2.0.0-beta.2 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 29 Apr 2026CVE ID reserved by GitHub_M.
- 11 May 2026Published in the CVE List.
- 12 May 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation poc.
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.
Report a link
Other Grav vulnerabilities
Same weakness: Code injection
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
Patchminder. CVE-2026-42607: Remote code execution in Getgrav Grav. https://patchminder.com/cve/cve-2026-42607/ (accessed 5 December 2026).