CVE-2026-42607: Vulnerability in getgrav/grav

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 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...

Packagist, CWE-94

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-w48r-jppp-rcfw
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-94
Published
5 May 2026
Last change
26 Oct 2026
Ecosystem
Packagist

Affected packages

Vulnerable version ranges and fixed releases

  • getgrav/grav Packagist, Affected before 2.0.0-beta.2. Fixed in 2.0.0-beta.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes