{"id":"CVE-2026-42607","published":"2026-05-11T14:58:42Z","modified":"2026-05-12T13:46:49Z","title":"Grav: Remote Code Execution (RCE) via Malicious Plugin ZIP Upload in Direct Install Feature","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04382,"percentile":0.9151,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663","tags":["x_refsource_MISC"]}],"priority":{"score":29.7,"factors":[{"name":"EPSS percentile","points":18.3},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-26"},"first":{"date":"2026-05-26","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52578"},"provenance":"source"},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 2.0.0-beta.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-12T13:46:17.028806Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getgrav/grav","vulnerableRanges":["<2.0.0-beta.2"],"patched":["2.0.0-beta.2"],"from":["GHSA-w48r-jppp-rcfw"],"provenance":"source"}],"summary":{"text":"Grav, a file-based web platform from getgrav, contains a flaw in its \"Direct Install\" tool, which fails to inspect the contents of uploaded ZIP archives and so allows malicious PHP code to be extracted onto the server. An attacker who holds administrative privileges over the network can upload a specially crafted ZIP file (no user interaction is required) to execute arbitrary PHP code or plant a persistent web shell, with the affected versions being those before 2.0.0-beta.2.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:02:42Z"},"euvd":{"id":"EUVD-2026-29065","exploited":false,"provenance":"source"},"exploits":[{"id":52578,"url":"https://www.exploit-db.com/exploits/52578","title":"Grav CMS 2.0.0-beta.2 -  Remote Code Execution","date":"2026-05-26","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-getgrav-grav-cve-2026-42607","children":[{"from":"CVE-2026-42607","to":"CVE-2026-42613","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-w48r-jppp-rcfw","via":"related"},{"kind":"osv-related","provenance":"source","id":"GHSA-pxm6-mhxr-q4mj","via":"reference","url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"}]}]}}