CVE-2026-72826: Incorrect Privilege Assignment in getgrav grav
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).
AI Analysis
Technical Summary
The getgrav/grav-plugin-api plugin versions prior to 1.0.13 fail to enforce scope validation when creating new API keys. Specifically, the createApiKey function does not check that the requested scopes for the new key are a subset of the caller's scopes. The requireApiKeyPermission function only requires the baseline api.access scope for the self-target path, and the new key's scopes are taken directly from the request body without subset verification. Consequently, an attacker possessing a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key. This flaw enables privilege escalation and can facilitate further attacks such as configuration modification leading to remote code execution.
Potential Impact
An attacker with minimal API key privileges on a super account can escalate their privileges to full super user access by exploiting the lack of scope validation. This effectively bypasses all scope restrictions and can lead to critical impacts including unauthorized configuration changes and potential remote code execution. The vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation guidance is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict API key issuance and monitor for suspicious API key creation activity. Avoid using minimal-scope API keys on super accounts where possible.
CVE-2026-72826: Incorrect Privilege Assignment in getgrav grav
Description
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).
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/getgrav/grav-plugin-apiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The getgrav/grav-plugin-api plugin versions prior to 1.0.13 fail to enforce scope validation when creating new API keys. Specifically, the createApiKey function does not check that the requested scopes for the new key are a subset of the caller's scopes. The requireApiKeyPermission function only requires the baseline api.access scope for the self-target path, and the new key's scopes are taken directly from the request body without subset verification. Consequently, an attacker possessing a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key. This flaw enables privilege escalation and can facilitate further attacks such as configuration modification leading to remote code execution.
Potential Impact
An attacker with minimal API key privileges on a super account can escalate their privileges to full super user access by exploiting the lack of scope validation. This effectively bypasses all scope restrictions and can lead to critical impacts including unauthorized configuration changes and potential remote code execution. The vulnerability has a CVSS 4.0 score of 9.3, indicating critical severity with network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
No official patch or remediation guidance is currently confirmed. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict API key issuance and monitor for suspicious API key creation activity. Avoid using minimal-scope API keys on super accounts where possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-10T15:12:59.509Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a7f0284bf8831d539fec85c
Added to database: 08/14/2026, 11:56:52 UTC
Last enriched: 08/14/2026, 12:11:54 UTC
Last updated: 08/14/2026, 22:49:52 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.