Vulnerability 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.
CVSS Score
CRITICAL
Related Weaknesses (CWE)
References
- https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663
- https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw
- https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw
FAQ
What is CVE-2026-42607?
CVE-2026-42607 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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...
How severe is CVE-2026-42607?
CVE-2026-42607 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-42607?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.