CVE-2026-42607getgrav grav
Critical 9.1
- Priority
- 55
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- Yes
- Published
- May 11, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
What happens
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
- Apply the vendor's security update for grav.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | getgrav/grav |
< 2.0.0-beta.2 |
2.0.0-beta.2 |
composer require "getgrav/grav:^2.0.0-beta.2" |
Per OSV / GitHub Advisories (GHSA-w48r-jppp-rcfw). Check the version in your lockfile before upgrading.
Affected products
- getgrav · grav
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.