Skip to main content
ExploitPublished

Grav CMS 1.7.48 · Remote Code Execution (RCE)

Source Exploit-DB RSS Feed

0
Severity
Critical

Rated by Threat Radar

Data as of 8 Nov 2025, 02:50 UTC

What to do

AI-suggested

European organizations should immediately audit their web infrastructure to identify any instances of Grav CMS, particularly version 1.7.48 or earlier. Until an official patch is released, organizations should consider the following mitigations: 1) Restrict access to Grav CMS administrative interfaces using IP whitelisting or VPNs to reduce exposure. 2) Employ web application firewalls (WAFs) with custom rules to detect and block suspicious PHP payloads or unusual HTTP requests targeting Grav CMS endpoints. 3) Disable or restrict PHP execution permissions in directories used by Grav CMS if feasible. 4) Monitor web server logs and Grav CMS logs for signs of exploitation attempts, such as unexpected PHP code execution or anomalous requests. 5) Isolate Grav CMS servers from critical internal networks to limit lateral movement if compromised. 6) Prepare for rapid patch deployment once an official fix is available by subscribing to Grav CMS security advisories. 7) Educate web administrators about the risks and signs of exploitation. These targeted steps go beyond generic advice by focusing on immediate risk reduction and detection in the absence of a patch.

Description

Grav CMS 1.7.48 - Remote Code Execution (RCE)

Indicators of compromise

Exploit source code

Exploit code for Grav CMS 1.7.48 - Remote Code Execution (RCE)PHP · 1,906 characters
# Exploit Title: Grav CMS 1.7.48 - Remote Code Execution (RCE)
# Date: 2025-08-07
# Exploit Author: binneko (https://github.com/binneko)
# Vendor Homepage: https://getgrav.org/
# Software Link: https://github.com/getgrav/grav/releases/tag/1.7.48
# Version: Grav CMS v1.7.48 / Admin Plugin v1.10.48
# Tested on: Debian 11, Apache2, PHP 7.4
# CVE: CVE-2025-50286

# Description:
Grav CMS v1.7.48 with Admin Plugin v1.10.48 is vulnerable to Authenticated Remote Code Execution (RCE)
through the "Direct …

References

Community reviews

Loading reviews…