Input validation error in Grav CMS - CVE-2026-42607
Published: May 5, 2026
Grav CMS
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper input validation in the directInstall task in the Admin plugin and Grav Package Manager when processing uploaded ZIP archives. A remote privileged user can upload a specially crafted ZIP file to execute arbitrary code.
The issue affects the /admin/tools/direct-install endpoint and requires the Admin plugin to be enabled.