CVE-2021-21425: Unauthenticated Method Execution in Grav Admin Plugin
- Vendor
- Getgrav
In Grav Admin Plugin versions 1.10.7 and earlier, an unauthenticated attacker can execute certain administrator controller methods without credentials. This allows arbitrary creation or modification of YAML files, leading to configuration changes, custom scheduler job definitions, and potentially arbitrary code execution under the web server user context.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated attacker to change site configuration, define custom scheduler jobs, alter webpage content, hijack administrator accounts, or execute OS commands as the web server user, leading to full compromise of the affected Grav instance.
Mitigation
If you can’t patch tonight, do this now.
As a temporary workaround, restrict access to the '/admin' path from untrusted sources, for example by using network-level controls or web server configuration to limit access to trusted IP addresses only.
Remediation
Patch, then assume compromise.
Upgrade to Grav Admin Plugin version 1.10.8 or later, which addresses the vulnerability by restricting unauthenticated access to administrator controller methods.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2021-21425 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-21425 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-21425?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2021-21425, the earliest disclosed Mar 29, 2021.
- Is there a patch for CVE-2021-21425?
- Upgrade to Grav Admin Plugin version 1.10.8 or later, which addresses the vulnerability by restricting unauthenticated access to administrator controller methods.
- What products are affected by CVE-2021-21425?
- Getgrav Grav-Plugin-Admin.
- How severe is CVE-2021-21425?
- CVE-2021-21425 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 80.6% (100th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.