Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with api.users.write manager role
-
DeliveryEdit account access map or invitation
-
ExploitInject positive scalar admin/api parent grant
-
ExecutionPermission resolver satisfies requireSuper
-
ImpactAccess super-only API endpoints as super-admin
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 | Exploitation requires the attacker to already possess the 'api.users.write' capability as a delegated user manager in the Grav API plugin (versions before 1.0.36) - i.e., an authenticated, partially-privileged account, not an anonymous one. The concrete vector is editing account access maps or user invitations to store a positive scalar value on an 'admin' or 'api' parent grant, which the inheriting permission resolver then treats as satisfying requireSuper. Limiting factors: the deployment must delegate user-management rights to accounts below super-admin for this to represent a real escalation (PR:H); installations where only the super-admin holds api.users.write gain little new capability. No user interaction, no special client, and no non-default network configuration is needed beyond the API being enabled and reachable. |
| Impact | This is a genuine, well-scoped privilege-escalation flaw (CWE-269) rather than a hollow high-CVSS item, but its real-world urgency is tempered by a meaningful precondition. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H) scoring 8.6 is internally consistent with the description: a network-reachable API, no user interaction, full confidentiality/integrity/availability impact once super-admin is obtained, but PR:H because the attacker must already hold the delegated 'api.users.write' manager capability. This is not an unauthenticated internet-facing RCE - it is a trusted-insider or compromised-delegated-account escalation from manager to super-admin. No EPSS score, CISA KEV listing, or public POC is present in the provided data, so there is no evidence of active or widespread exploitation; the signals are not conflicting, they are simply absent, which points toward this being a latent authorization-logic bug rather than an actively weaponized one. Priority should therefore be high for any deployment that delegates user-management duties to non-trusted or semi-trusted operators (multi-tenant or customer-managed Grav instances), and moderate for single-admin installations where no one below super-admin holds api.users.write. |
| Exploit ScenarioDerived | A delegated user manager holding 'api.users.write' (for example, a customer support operator on a multi-tenant Grav site) edits an account access map or a pending invitation to insert a positive scalar admin/api parent grant. When the inheriting permission resolver evaluates these grants it satisfies the requireSuper check, so the manager's own account - or an account they control - now passes authorization for super-only API endpoints, yielding full administrative control. No public exploit code is identified at time of analysis, and because it is network-reachable via the API with no user interaction, exploitation is straightforward for anyone already granted the manager capability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 12, 2026
Privilege escalation in the Grav API plugin (grav-plugin-api) before 1.0.36 allows an account that already holds the api.users.write capability - a delegated user manager rather than a super-admin - to obtain full super-admin API access. The attacker edits account access maps or pending invitations so that a positive scalar value is stored on an 'admin' or 'api' parent grant; the plugin's inheriting permission resolver then treats that grant as satisfying its requireSuper checks, exposing super-only API endpoints. Exploitation is authenticated and requires the high-privilege api.users.write capability (CVSS vectors show PR:H, scope unchanged), so the flaw matters mainly where user-management rights have been delegated below super-admin; no public exploit code or confirmed active exploitation was identified at time of analysis.
RemediationAI
Vendor-released patch: grav-plugin-api 1.0.36 - upgrade the plugin to 1.0.36 or later using Grav's GPM (bin/gpm update grav-plugin-api) or Composer, then verify the installed version and consult the vendor advisory at https://github.com/getgrav/grav/security/advisories/GHSA-m2rq-76vx-vv4j. If immediate patching is not possible, the most effective compensating control is to stop delegating user management: ensure only super-admin accounts hold api.users.write, which closes the prerequisite path (trade-off: removes delegated account administration for lower-tier staff). Additionally, audit and clean existing account access maps and pending invitations for positive scalar values on 'admin' or 'api' parent grants and remove them (trade-off: manual review effort and possible legitimate grant resets), and, where the REST API's user-management functionality is not needed, disable the API plugin or block its user and invitation endpoints at the reverse proxy or web server (trade-off: breaks any legitimate API-based user provisioning or integration). Rotating credentials and reviewing API activity logs for unexpected super-admin-level calls is also warranted given the high integrity and confidentiality impact of a successful escalation.
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
Grav is a flat-file PHP CMS whose user accounts carry YAML access maps describing fine-grained permission grants, often as nested parent/child structures. The grav-plugin-api component exposes REST endpoints for user administration and evaluates authorization through an inheriting permission resolver that walks parent grants and applies requireSuper checks before allowing super-admin-only operations. The vulnerability (CWE-269, Improper Privilege Management) arises because a scalar positive value placed on an 'admin' or 'api' parent grant is interpreted by the resolver as satisfying those super-admin checks, instead of being rejected or normalized. Because the plugin stores grants from attacker-controlled writes (account access maps and invitations) and later resolves them with inherited semantics, an authenticated principal holding api.users.write can escalate its effective permissions. The reported CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) agree on high confidentiality, integrity and availability impact, scope unchanged, and a high-privilege prerequisite rather than an anonymous attack.
Know when Grav Plugin Api 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:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker must already hold the api.users.write manager role so PR:H; the API is network-reachable with no interaction (AV:N/UI:N), and resulting super-admin grants full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Grav grav-plugin-api before 1.0.36 contains a privilege escalation vulnerability that allows delegated user managers to obtain super-admin access by storing positive scalar admin or api parent grants. Attackers with api.users.write can edit account access maps or invitations so the inheriting permission resolver satisfies requireSuper checks, accessing super-only API endpoints.
Technical POC Analysis
CWE-269 (Improper Privilege Management) arising from a semantic mismatch between the write-time guard and the read-time authorization check inside the Grav API plugin (getgrav/grav-plugin-api, Compos…
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A privilege-escalation flaw in the Grav API plugin (grav-plugin-api) lets a delegated user manager who already holds the api.users.write capability escalate to full super-admin API access, effectively handing over the highest level of control over the Grav site and its integrations. Because the issue only triggers where user-management rights have been delegated below super-admin, organizations running Grav with shared content or user administration roles are the most exposed, and any resulting super-admin takeover could lead to full site compromise, data exposure, and abuse of connected services. No public exploit code or confirmed active exploitation was identified at time of analysis, and no vendor-released patch was identified at time of analysis.
No vendor-released patch identified at time of analysis. Interim mitigations: revoke or tightly restrict the api.users.write capability from all non-super-admin accounts; audit and remediate account access maps and pending invitations for positive scalar values on 'admin' or 'api' parent grants; disable or network-restrict the API plugin where not essential; enable logging and alerting on super-only API endpoints; rotate credentials and API keys for any account with suspicious grants; apply least-privilege review of delegated user-management roles.
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.
More in Grav Plugin Api
View allHost header injection in the Grav API plugin's forgot-password endpoint allows unauthenticated remote attackers to redir
Server-Side Request Forgery in the Grav API plugin (grav-plugin-api) for Grav CMS before 1.0.6 lets a caller holding the
Unauthenticated resource exhaustion in the Grav API plugin (grav-plugin-api) before 1.0.42 allows any remote attacker wh
Privilege escalation in Grav API Plugin (all versions before 1.0.6) allows any authenticated user holding the api.users.
Privilege escalation in grav-plugin-api before 1.0.20 allows a low-privileged API manager to self-create a super-admin a
Privilege escalation in grav-plugin-api before 1.0.20 allows authenticated API users holding api.access and api.users.wr
Permissive CORS misconfiguration in the Grav API Plugin (all versions prior to 1.0.0-rc.16) allows cross-origin JavaScri
Scope enforcement is entirely absent in the Grav API Plugin prior to 1.0.6, meaning any scoped API key silently exercise
JWT bearer token leakage in the Grav API Plugin for Grav CMS (prior to 1.0.0-rc.16) exposes valid access tokens to any p
Disabled accounts in Grav API plugin versions before 1.0.36 can continue to access API endpoints because SessionAuthenti
Stored XSS in Grav CMS's grav-plugin-api (Admin2) allows a low-privileged editor to persist malicious JavaScript in page
Stored cross-site scripting in the Grav API Plugin (all versions prior to 1.0.2) allows an authenticated attacker holdin
EUVD-2026-97619
GHSA-7ghm-8q85-6h4j
NVD
CVE.org
EPSS
Exploit-DB