Grav 1.0.6 before 1.0.13 Privilege Escalation via Scoped API Keys
Severity and exploitation
KEV coverage does not rule out exploitation.
Assessment vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NAssessment vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSeverity
high8.8CVSS measures technical severity, not the likelihood of an attack.
Known exploitation
Not listed in the checked CISA KEV catalog
Absence from CISA KEV does not rule out attacks.
Public exploit
Not established by this record
Missing evidence does not mean no public exploit exists.
Remediation
Fix status not established
No structured fix or guidance is available here. Check the latest publisher advisory.
What this means
Grav API plugin versions 1.0.6 to 1.0.13 are affected by a privilege escalation vulnerability, where a scoped API key can bypass its declared scope and perform super-admin write operations. The weakness is due to improper privilege management. A leaked or delegated read-only key can gain full super-admin write capability.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.Attack conditions
No attack-condition excerpt has been identified here. Review the full source description and references for authentication, network access, and configuration requirements.
Review supporting sources →Affected versions
Check the exact model, release, and any platform requirements against your installation.
getgrav · VulnCheck
grav-plugin-api
1 range
getgrav · VulnCheck
grav-plugin-api
Compare with this publisher’s ranges. This does not inspect your installation.
affected
1.0.6 → before 1.0.13
semver versions
Other versions: unaffected
What to do
Compare your installed product and version with the affected versions above. A matching product name alone does not confirm exposure.
No structured fix or remediation guidance is available here. Check the full source description and vendor’s latest advisory for a patch or workaround; do not assume another version is safe.
cve.new guidance unless attributed to a publisher. This page does not inspect your installation.
Public exploit evidence
No public exploit reference is identified in the imported evidence. This is not a claim that no exploit exists.
Original source description
Read the full publisher description
The Grav API plugin (getgrav/grav-plugin-api) versions >= 1.0.6 and < 1.0.13 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.
References
2 sourcesInside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-72833View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Environment requirements
These conditions apply together as specified by the publisher. A matching product name alone does not establish exposure.
VulnCheck · platform conditions
Any condition may hold
Vulnerable product
cpe:2.3:a:getgrav:grav:1.0.6:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.10:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.9:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.8:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.7:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.6:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.5:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:1.7.53.2:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:1.7.53.1:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.4:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.3:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.2:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.1:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:-:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:rc10:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:rc9:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:1.7.53:*:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:rc8:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:rc7:*:*:*:*:*:*Vulnerable product
cpe:2.3:a:getgrav:grav:2.0.0:rc6:*:*:*:*:*:*Applicability preview
[
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:1.0.6:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.10:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.9:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.8:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.7:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.6:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.5:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:1.7.53.2:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:1.7.53.1:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.4:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.3:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.2:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.1:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:-:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:rc10:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:rc9:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:1.7.53:*:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:rc8:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:rc7:*:*:*:*:*:*"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:getgrav:grav:2.0.0:rc6:*:*:*:*:*:*"
}
]
}
]
}
]Contributing organizations · 2
Assigning organization
Additional data publisher
Timeline
All times UTCAdvisory published
Publication date supplied by the source.
Source updated
Latest modification date supplied by the source.
Last imported by cve.new
Latest catalog import, not the date we first saw this advisory.
What changed
Follow changesLarge field values are marked as truncated previews. Original source snapshots remain retained.
Related advisories
Recent advisories affecting the same package or the same recorded vendor and product. These are separate vulnerabilities, not additional evidence for this advisory.
Grav API Plugin before 1.0.13 Scope Bypass via createApiKey
The getgrav/grav-plugin-api plugin before 1.0.13 fails to validate that the scopes of a newly created API key are a subset of the caller's scopes in createApiKey. The self-target path of requireApiKeyPermission() requires only the baseline api.access scope, and the new key's scopes are read directly from the request body with no subset check. An attacker holding a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key, bypassing scope restrictions (and enabling further chains such as configuration write to RCE).
No structured fix or guidance is available here. Check the latest publisher advisory.
Exploitation not established
Grav API Plugin before 1.0.13 API-key scope cap bypass via ReportsController
The getgrav/grav-plugin-api plugin before 1.0.13 contains an API-key scope cap bypass in the POST /reports/twig-content/allowlist endpoint (ReportsController). The endpoint enforces requirePermission('api.config.write') followed by a bare isSuperAdmin() check instead of requireSuper(). Because isSuperAdmin() reads access.api.super directly and never consults api_key_scopes, a least-privilege API key scoped to api.config.write minted on a super account passes the gate, allowing an attacker to append attacker-chosen tokens to the security.twig_sandbox allowlist (persisted to user/config/security.yaml). Widening the allowlist turns any subsequent Twig-in-content render into an SSTI/RCE sink.
No structured fix or guidance is available here. Check the latest publisher advisory.
Public exploit reference
Grav API Plugin before 1.0.4 Password Reset Token Poisoning via admin_base_url
The Grav API plugin (grav-plugin-api) before 1.0.4 does not validate the origin of the client-supplied admin_base_url field in the POST /api/v1/auth/forgot-password endpoint. The sanitizeHttpUrl() function only checks that the URL scheme is http/https and never verifies the host against the server's own origin, so an attacker can supply an arbitrary host. As a result, an unauthenticated attacker can cause the password reset email sent to a victim to contain a reset link pointing at an attacker-controlled server; when the victim follows the link, the valid reset token is disclosed to the attacker, enabling full account takeover. The vulnerable base URL can also be influenced via the Referer or Origin headers.
No structured fix or guidance is available here. Check the latest publisher advisory.
Public exploit reference
Grav API Plugin - Cross-Origin Admin Account Takeover via CORS Wildcard and JWT Query Parameter
Grav API plugin before v1.0.0-rc.16 accepts JWT tokens via the ?token= URL query parameter and responds with Access-Control-Allow-Origin: *, allowing unauthenticated attackers to make fully authenticated cross-origin API requests from any malicious website. Attackers who obtain a leaked JWT token from access logs, proxy logs, browser history, or Referrer headers can create persistent backdoor super-admin accounts and exfiltrate sensitive configuration and user data.
No structured fix or guidance is available here. Check the latest publisher advisory.
Public exploit reference