CVE-2025-50286 File upload in n/a
An authenticated admin can upload a malicious plugin to Grav CMS, leading to arbitrary PHP code execution and potential reverse shell access.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-50286?
CVE-2025-50286 is a high-severity vulnerability in Getgrav Grav, published on 6 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-434
Which versions are affected by CVE-2025-50286?
It affects 1 product.
Products include Getgrav Grav.
How do I fix CVE-2025-50286?
No fix has been published for CVE-2025-50286 yet. Limit exposure of the affected software until one is available.
Is CVE-2025-50286 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50286 exists.
Public exploit code: 1 Metasploit module, 1 Exploit-DB entry and 2 proofs of concept on GitHub.
Other vulnerabilities in Getgrav Grav
- CVE-2023-34251 Grav Server Side Template Injection vulnerability
- CVE-2025-46199 Cross-site scripting in n/a
- CVE-2021-47812 GravCMS 1.10.7 - Arbitrary YAML Write/Update (Unauthenticated) (2)
- CVE-2025-66844 Grav may be vulnerable to SSRF attack via Twig Templates
- CVE-2022-2073 Code Injection in getgrav/grav
Sources
Also known as GHSA-wqvw-453m-rjm2.