Arbitrary file upload in Getgrav Grav

CVE-2025-50286

A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plugin via the /admin/tools/direct-install interface. Once uploaded, the plugin is automatically extracted and loaded, allowing arbitrary PHP code execution and reverse shell access.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS: 0.136 (96.4th percentile), scored .

Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-50286: rose from 0.092 to 0.136.

EPSS over last 30 days · oldest: 0.092 · newest: 0.136 · change: +0.044

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-50286?
CVE-2025-50286 is a high-severity vulnerability in Getgrav Grav, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 8.1/10. Published 2025-08-06.
How severe is CVE-2025-50286?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2025-50286 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.