CVE-2026-42607 json
Grav: Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install Feature
published 2026-05-05 6 mo ago modified 2026-10-26 13 d ago also EUVD-2026-29065 , GHSA-w48r-jppp-rcfw
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- packagist getgrav/grav 2.0.0-beta.2
- getgrav grav 2.0.0-beta.2
- getgrav grav_cms 2.0.0-beta.2
Timeline
- Published
- First public exploit (EDB-52578)
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
4.38% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-52578 Grav CMS 2.0.0-beta.2 - Remote Code Execution webapps, 2026-05-26
- github.com https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | getgrav/grav | <2.0.0-beta.2 |
2.0.0-beta.2 |
Affected products
- getgrav grav
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
Sources
- CVE List CVE-2026-42607
- GitHub Advisory GHSA-w48r-jppp-rcfw
- NVD CVE-2026-42607
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.