CVE-2025-50286 File upload in n/a

High 8.1 Published Updated

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.

All Getgrav Grav vulnerabilities

Sources

Also known as GHSA-wqvw-453m-rjm2.

Is CVE-2025-50286 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free