---
title: "CVE-2026-42607: Grav Vulnerable to Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install Feature"
url: https://erroneo.us/security/cve/CVE-2026-42607/
description: "CVE-2026-42607 (getgrav/grav (Composer (PHP))): Grav is a file-based Web platform. Prior to 2.0.0-beta.2, an authenticated user with administrative…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-05-11
date_modified: 2026-05-13
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-42607"
kev: false
cvss: 9.1
epss: 0.02251
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-42607: Grav Vulnerable to Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install Feature

**Signal:** Critical, preconditions apply. Severe if exploited, but exploitation needs conditions that may not apply to you. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 2.3% , percentile 83: FIRST’s model estimates a 2.3% chance of exploitation activity in the next 30 days, higher than 83% of all scored CVEs (elevated). EPSS is a probability, not a verdict.
- Needs an account (high (admin)). Exposure depends on who can log in.
- Only applies if your dependency tree includes getgrav/grav (Composer (PHP)) < 2.0.0-beta.2, fixed in 2.0.0-beta.2 . Check your lockfile, including transitive dependencies.

## What it is

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.

## Affected packages

- Composer (PHP) `getgrav/grav` < 2.0.0-beta.2 → fixed: 2.0.0-beta.2

## Affected products (CVE record)

- getgrav grav: < 2.0.0-beta.2

## Severity

- GitHub_M CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.1 `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable no , technical impact total .
- FIRST EPSS (model of 2026-10-21): 2.25% probability of exploitation activity in the next 30 days; percentile 83.

## Sources

- [GitHub Advisory GHSA-w48r-jppp-rcfw](https://github.com/advisories/GHSA-w48r-jppp-rcfw)
- [CVE.org record CVE-2026-42607](https://www.cve.org/CVERecord?id=CVE-2026-42607)
- [NVD entry CVE-2026-42607](https://nvd.nist.gov/vuln/detail/CVE-2026-42607)
- [github.com](https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw)
- [github.com](https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663)

---
Source page: https://erroneo.us/security/cve/CVE-2026-42607/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
