CVE Explorer
CVE-2026-42607
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"grav","vendor":"getgrav","versions":[{"status":"affected","version":"< 2.0.0-beta.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663","tags":["x_refsource_MISC"],"url":"https://github.com/getgrav/grav/commit/5a12f9be8314682c8713e569e330f11805d0a663"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/cna/references/1
{"name":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw","tags":["x_refsource_CONFIRM"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/getgrav/grav/security/advisories/GHSA-w48r-jppp-rcfw"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ba208a9fb61c3e84eec90b5660934fc56dd1abb59e1c3e0d4146f589860d7126 · sha256:6187c4b954375270… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.