CVE-2026-42607
Published:May 11, 2026
Updated:May 16, 2026
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
https://github.com/getgrav/grav.git (GITHUB):
Affected version(s) >=0.1.0 <2.0.0-beta.2Fix Suggestion:
Update to version 2.0.0-beta.2getgrav/grav (PHP):
Affected version(s) >=dev-add-claude-github-actions-1770170196497 <2.0.0-beta.2Fix Suggestion:
Update to version 2.0.0-beta.2getgrav/grav (PHP):
Affected version(s) >=dev-add-claude-github-actions-1770170196497 <2.0.0-beta.2Fix Suggestion:
Update to version 2.0.0-beta.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.23