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
- CWE-94: Improper Control of Generation of Code
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-05-12 |
Timeline
- 2026-05-05GitHub advisory published (GHSA-w48r-jppp-rcfw)6 days before publication
- 2026-05-11Published by the CNA14:58 UTC
- 2026-05-12CISA SSVC decision recorded1 day after publication
- 2026-05-26First Exploit-DB entry (EDB-ID 52578)15 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52578 | webapps | php | 2026-05-26 | no |
GitHub advisory GHSA-w48r-jppp-rcfw, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Packagist getgrav/grav | before 2.0.0-beta.2 | 2.0.0-beta.2 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| getgrav grav |
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663
- https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-42607'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-42607'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-42607'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-42607'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).