← Vulnerability feed

Vulnerability record · CVE-2021-21425 · published 7 April 2021

CVE-2021-21425: Grav Admin Plugin unauthenticated access control allows YAML write and RCE

Getgrav · Grav Plugin Admin

Grav Admin Plugin 1.10.7 and earlier lets an unauthenticated user invoke administrator controller methods without credentials. Those calls can create or modify arbitrary YAML files, changing site configuration and enabling further compromise. The flaw is fixed in 1.10.8.

9.8 CVSS 3.1 Critical EPSS 81% · top 0.4% CWE-284 · Improper access control
9.8CVSS 3.1 base score, v2 7.5
81%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
8References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

Grav Admin Plugin is an HTML user interface that provides a way to configure Grav and create and modify pages. In versions 1.10.7 and earlier, an unauthenticated user can execute some methods of administrator controller without needing any credentials. Particular method execution will result in arbitrary YAML file creation or content change of existing YAML files on the system. Successfully exploitation of that vulnerability results in configuration changes, such as general site information change, custom scheduler job definition, etc. Due to the nature of the vulnerability, an adversary can change some part of the webpage, or hijack an administrator account, or execute operating system command under the context of the web-server user. This vulnerability is fixed in version 1.10.8. Blocking access to the `/admin` path from untrusted sources can be applied as a workaround.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated network-reachable access control flaw with high confidentiality, integrity and availability impact and very high EPSS score.

What it is

Grav Admin Plugin 1.10.7 and earlier lets an unauthenticated user invoke administrator controller methods without credentials. Those calls can create or modify arbitrary YAML files, changing site configuration and enabling further compromise. The flaw is fixed in 1.10.8.

Impact

An attacker can alter site configuration, hijack an administrator account, or execute operating system commands as the web-server user.

Attack surface

Reachable over the network through the Grav Admin Plugin interface, with no authentication and no user interaction required per the CVSS vector. Blocking access to the /admin path from untrusted sources is noted as a workaround.

Exploitation

Not listed in CISA KEV, but EPSS is 0.806 (99.6th percentile) and public references include an exploit write-up and Packet Storm RCE postings, indicating active interest and available exploit detail.

What to do

  • Upgrade Grav Admin Plugin to 1.10.8 or later.
  • Block access to the /admin path from untrusted sources as an interim workaround.
  • Restrict network exposure of the Grav admin interface to trusted management networks or VPN.
  • Review and restore YAML configuration files for unauthorized changes after any suspected exposure.
  • Rotate administrator credentials and review accounts for signs of hijacking.

Detection

  • Monitor web logs for unauthenticated requests to /admin endpoints, especially administrator controller methods.
  • Alert on unexpected creation or modification of YAML files under the Grav configuration directories.
  • Look for suspicious scheduler job definitions or configuration changes in Grav.
  • Hunt for web-server user processes spawning shell or command interpreters.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-21425 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

6.8CVE-2025-66308Getgrav grav-plugin-admin cross-site scripting vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.21%6.2CVE-2025-66310Getgrav grav-plugin-admin cross-site scripting vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.21%6.2CVE-2025-66311Getgrav grav-plugin-admin cross-site scripting vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.21%6.2CVE-2025-66312Getgrav grav-plugin-admin cross-site scripting vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.21%6.2CVE-2025-66309Getgrav grav-plugin-admin cross-site scripting vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.23%5.4CVE-2021-3920Getgrav grav-plugin-admin cross-site scripting vulnerabilitygrav-plugin-admin is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')EPSS 1.4%5.4CVE-2021-3799Getgrav grav-plugin-admin clickjacking vulnerabilitygrav-plugin-admin is vulnerable to Improper Restriction of Rendered UI Layers or FramesEPSS 1.6%5.3CVE-2025-66307Getgrav grav-plugin-admin vulnerabilityThis admin plugin for Grav is an HTML user interface that provides a convenient way to configure Grav and easily create and modify pages. Prior to 1.…EPSS 0.32%

Source: NIST National Vulnerability Database (record CVE-2021-21425), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.