Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain super-admin-scoped API key
-
DeliverySend crafted write request to privileged endpoint
-
ExploitisSuperAdmin() early-return skips requirePermission()
-
ExecutionRewrite group ACL map via GroupsController
-
PersistElevate attacker account to super-admin
-
ImpactFull Grav instance takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The Grav API plugin (getgrav/grav-plugin-api) must be installed and enabled at versions 1.0.6 through 1.0.11. The attacker must possess a valid API key that was issued by or associated with a super-admin account - the key's declared scope does not matter and can be entirely read-only (e.g., api.pages.read). No write permission on the key itself is required. The API must be network-reachable. Exploitation is bounded by the following limiting factors: (1) the API plugin must be explicitly installed - it is not bundled with base Grav; (2) a super-admin-associated API key must exist and be obtainable by the attacker, ruling out purely unauthenticated exploitation; (3) only the four specific endpoints (GroupsController, AccountsConfigController, PreferencesController, DashboardWidgetController) are affected - not all API operations are bypassed. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N) accurately reflects the risk profile: network-exploitable over standard HTTP, low complexity once a key is in hand, and requiring only low-privilege credentials (a scoped API key). The impact triple of VC:H/VI:H/VA:H is justified because super-admin write access enables full ACL rewriting, account takeover, configuration changes, and potential content destruction. The critical amplifier here is the delegated key scenario: organizations routinely issue read-only API keys to CI/CD pipelines, uptime monitors, or third-party integrations - these keys are often stored in environment variables or secrets managers with broader access than the Grav instance itself, increasing the likelihood of leakage. There is no KEV listing and no confirmed public exploit code, which moderates urgency somewhat, but the bug is mechanically trivial to exploit once the key-bypass logic is understood. EPSS data was not provided in the input; the straightforward exploitation path suggests real-world exploitation probability is non-negligible for sites that have issued delegated API keys. |
| Exploit ScenarioDerived | An attacker obtains a read-only API key (e.g., api.pages.read scope) originally issued to a CI pipeline - via a leaked .env file, a compromised secrets manager, or insider access. The attacker sends an authenticated POST request to the GroupsController write endpoint with a crafted payload that rewrites the ACL map for a target group, granting super-admin privileges to an attacker-controlled account. Because the endpoint's isSuperAdmin() check passes (the key was minted on a super-admin account) and requirePermission() is never called, the operation succeeds despite the key's declared read-only scope, yielding full administrative control of the Grav instance. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 14, 2026
Privilege escalation in getgrav/grav-plugin-api versions 1.0.6 through 1.0.11 allows any holder of a scoped, read-only API key to perform super-admin write operations - including rewriting group ACL maps to elevate arbitrary accounts to super-admin. The flaw exists because four privileged write endpoints (GroupsController, AccountsConfigController, PreferencesController, DashboardWidgetController) authorize via an isSuperAdmin() early-return that entirely skips requirePermission(), the only function that enforces scope caps on API keys. A leaked CI or monitoring key with a minimal scope such as api.pages.read is sufficient to achieve full administrative compromise. No public exploit code has been identified at time of analysis, and a patch is available in version 1.0.13.
RemediationAI
Upgrade the Grav API plugin to version 1.0.13 or later, which fixes the scope enforcement bypass by ensuring requirePermission() is invoked on all write endpoints regardless of the isSuperAdmin() check result. The vendor-released patch is confirmed at version 1.0.13 per the GitHub advisory GHSA-jqgq-v53x-x99g. If immediate upgrade is not possible, the most effective compensating control is to disable the API plugin entirely until patched - this eliminates the attack surface with no functional penalty for non-API workloads. As a second-best mitigation, audit and revoke all currently issued API keys, particularly those held by CI/monitoring systems, and do not reissue them until patched; this removes the credential vector required for exploitation. Network-level controls restricting access to the API endpoint path to trusted source IPs can also limit exposure but do not remediate the underlying flaw and may be impractical for publicly-facing deployments.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Grav is a flat-file PHP CMS; its optional API plugin exposes REST endpoints for managing pages, accounts, groups, and configuration. Affected versions are cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:* from 1.0.6 to 1.0.11. The API key system supports scoping - a key can be issued with a restricted permission set (e.g., api.pages.read) to enforce least-privilege for CI pipelines or monitoring integrations. The root cause, classified as CWE-269 (Improper Privilege Management), is an authorization logic error: the four affected controllers contain an isSuperAdmin() guard that, when true, returns early and proceeds directly to the write operation - bypassing the requirePermission() call entirely. Because scope enforcement lives exclusively inside requirePermission(), a key associated with any super-admin account inherits the full bypass, regardless of what scope was declared at key minting time.
Know when Grav gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-exploitable with low-privilege API key; scope change applies because ACL rewriting elevates arbitrary third-party accounts, extending impact beyond the vulnerable component.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
The Grav API plugin (getgrav/grav-plugin-api) versions >= 1.0.6 and <= 1.0.11 contain a privilege escalation vulnerability. A scoped API key minted on a super-admin account bypasses its declared scope cap on four isSuperAdmin()-gated write endpoints (in GroupsController, AccountsConfigController, PreferencesController, and DashboardWidgetController). These endpoints authorize via a super-admin early-return that never invokes requirePermission()-the sole enforcement point of the scope cap-so a 'read-only'-scoped key (e.g. api.pages.read) can perform super-only write operations, including rewriting group ACL maps to grant super-admin privileges to arbitrary accounts. A leaked or delegated read-only CI/monitoring key can therefore gain full super-admin write capability. Fixed in 1.0.13.
Executive ViewAI
The Grav plugin API versions 1.0.6 through 1.0.11 contain a privilege escalation vulnerability that allows any read-only API key holder to escalate to super-admin and modify system configurations. Organizations using these versions face complete administrative compromise from the exposure of a single low-privilege API key, such as those used in CI/CD or monitoring systems.
Apply vendor patch: upgrade to version 1.0.13.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Server-side template injection (SSTI) in Grav (getgrav/grav) prior to 1.8.0-beta.27 allows an authenticated attacker hol
Broken access control in Grav CMS (CWE-285) before 1.8.0-beta.27 lets an authenticated editor-level user escalate their
A Remote Code Execution (RCE) vulnerability in Grav CMS v1.7.48 allows an authenticated admin to upload a malicious plug
Grav is a file-based Web platform. Rated critical severity (CVSS 9.9), this vulnerability is remotely exploitable, low a
GravCMS 1.10.7 allows unauthenticated remote attackers to write arbitrary YAML configuration files, leading to full serv
Remote code execution in Grav CMS 2.0.4 (fixed in 2.0.7) lets an authenticated user holding the admin.pages or api.pages
Remote code execution in Grav CMS before 2.0.15 allows attackers holding page-edit or blueprint-config privileges to wri
Vertical privilege escalation in Grav CMS before 2.0.14 lets a delegated administrator holding only the admin.users perm
Stored cross-site scripting in Grav CMS before 2.0.15 lets authenticated editors smuggle JavaScript event handlers past
Server-side request forgery (SSRF) in Grav CMS versions prior to 1.7.49.5 allows remote authenticated attackers to make
Grav is a file-based Web platform. Prior to 1.8.0-beta.27, Grav CMS is vulnerable to a Server-Side Template Injection (S
Remote code execution in Grav CMS before 2.0.13 allows authenticated low-privilege users to plant and execute arbitrary
EUVD-2026-58647
GHSA-72v8-h9pq-46p7
NVD
CVE.org
EPSS
Exploit-DB