Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Grav panel user
-
DeliveryIdentify target privileged account username via admin UI
-
ExploitCraft apiKeyGenerate POST request with target username in route
-
ExecutionPlugin checks only admin.login, issues API key bound to target account
-
PersistUse generated key to authenticate Grav REST API as target
-
ImpactRead, modify, or delete site content with inherited super-admin permissions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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 | Exploitation requires a valid Grav panel account with admin.login permission - the minimum permission assigned to every authenticated panel user; no elevated role is needed. The Grav API Plugin must be installed and active on the target Grav CMS instance. The attack is only meaningful on multi-user Grav deployments where at least one non-attacker account holds higher API permissions (api.super, admin.users, or administrative write scopes) that the attacker wishes to inherit. Single-administrator Grav instances where the attacker is the sole panel user have no practical escalation target. The route must include a valid target username that differs from the attacker's own account; guessing or enumerating usernames from the Grav admin user list (visible to panel users) provides this. No non-default configuration, specific platform version, or network position beyond standard authenticated panel access is required. |
| Impact | The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H) is well-calibrated: the attack is network-reachable, requires no special conditions, demands only a basic panel account, and carries high confidentiality, integrity, and availability impact due to the inherited permissions. The CVSS vector's PR:L directly reflects the realistic threat model - in any multi-author or multi-editor Grav deployment, content managers and editorial accounts represent a plausible attacker pool that is not typically considered privileged. No EPSS data was provided and the vulnerability does not appear in CISA KEV at time of analysis, suggesting exploitation has not been widely observed, though absence from KEV does not imply low exploitability given the trivial attack conditions; even a mid-sized municipal IT team in walbrzych managing a multi-author Grav site should treat this as a priority patch given that a single compromised or malicious editor account could silently escalate to full API superadmin control. No conflicts exist between the CVSS vector and the description - both consistently indicate a straightforward, authenticated, network-accessible privilege escalation with no mitigating attack complexity. |
| Exploit ScenarioDerived | An attacker with a basic editorial panel account on a Grav site running the API plugin identifies the username of a super-administrator via the Grav admin interface. They send a POST request to the apiKeyGenerate admin task route, inserting the super-admin's username as the target account parameter; because the plugin only checks admin.login, it issues a persistent API key bound to the super-admin account. The attacker then uses that key to authenticate against the Grav REST API with full api.super permissions, enabling unrestricted read and write access to all site content. No public exploit code has been identified, but the attack requires only an HTTP client and knowledge of a target username. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
Privilege escalation in the Grav API Plugin (prior to 1.0.8) allows any authenticated panel user to generate or revoke API keys on behalf of arbitrary accounts, including super-administrators, by exploiting an insufficient authorization check in the apiKeyGenerate and apiKeyRevoke admin task handlers. The plugin enforced only the baseline admin.login permission - held by every panel user - without verifying that the caller had rights over the target account specified in the route parameter, enabling a low-privilege user to mint persistent API credentials carrying the target's full permissions. No public exploit has been identified at time of analysis; the issue is fixed in version 1.0.8.
RemediationAI
Upgrade the Grav API Plugin to version 1.0.8, the first release containing the authorization fix; the release is available at https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.8 and the fixing commit is ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30. Before and after upgrading, audit existing API keys via the admin panel or ApiKeyManager storage to identify any keys generated for accounts other than those expected - unexpected keys bound to privileged accounts are an indicator of prior exploitation and should be immediately revoked. If upgrading is not immediately feasible, disabling the Grav API plugin entirely eliminates the attack surface at the cost of headless API functionality; this is preferable to leaving it enabled on multi-user sites. Restricting panel access to only fully trusted users reduces the attacker pool but does not remediate the underlying flaw and should not be treated as a standalone mitigation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Grav API Plugin is a PHP component that wraps Grav CMS's content layer in a RESTful headless API. The vulnerable logic resided in user/plugins/api/api.php, specifically in the handleAdminApiKeyTask() method, which handled two admin tasks - apiKeyGenerate and apiKeyRevoke - but only called authorize('admin.login') before proceeding. CWE-862 (Missing Authorization) precisely describes the flaw: authentication was confirmed, but the authorization decision - whether the authenticated caller was permitted to act on the target account - was never made. Because admin.login is the minimum permission every panel user holds, any logged-in user could supply a foreign username in the route and trigger key generation or revocation for that account. The ApiKeyManager then bound the resulting credential to the target user's permission set, including api.super or administrative write scopes if the target held them. The fix, visible in commit ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30, introduces the authorizeApiKeyTarget() method, which gates cross-account key management behind admin.users or admin.super, and additionally prevents non-super-admin callers from targeting super-admin accounts - mirroring permission checks already present on the REST API path.
Know when PHP 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-accessible via HTTP with only a basic panel account (PR:L); scope unchanged as impact stays within the Grav CMS security boundary; C/I/A all High due to inherited super-admin API permissions enabling full content read, write, and deletion.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.8, the Grav API plugin intercepts the apiKeyGenerate and apiKeyRevoke admin tasks in user/plugins/api/api.php and authorizes the caller with only admin.login. A basic panel user can select another account from the route, create a persistent ApiKeyManager credential bound to that target, and inherit the target's API permissions, including api.super or administrative write access when present. This issue is fixed in version 1.0.8.
Executive ViewAI
Grav API Plugin versions prior to 1.0.8 contain a privilege escalation vulnerability allowing any authenticated panel user to generate or revoke API credentials on behalf of administrators, effectively granting persistent super-admin access. Organizations using this plugin must immediately upgrade to mitigate the risk of administrative account compromise and lateral movement through API credential abuse.
Vendor-released patch: version 1.0.8. Pending immediate upgrade, restrict panel user access to administrative interface only for users requiring it; enforce mandatory multi-factor authentication for all admin panel logins; disable or isolate the API Plugin entirely if not actively required; implement network segmentation limiting API plugin access to trusted internal networks only.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-62550
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB