CVE-2026-80203: Incorrect Authorization in getgrav grav
Description
CVE-2026-80203 is a critical authorization vulnerability in the getgrav/grav-plugin-api plugin before version 1.0.18. The flaw arises because the requireNotSuperTarget() function in UsersController.php incorrectly checks super-admin privileges based on the acting account rather than the API key's scope. This allows an API key with limited scope but belonging to a super-admin account to perform unauthorized actions against other super-admin accounts, such as disabling two-factor authentication, deleting avatars, creating new API keys under another identity, or deleting existing API keys.
CVSS v4.0
Score 9.3critical
Affected software
getgrav
grav
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in getgrav/grav-plugin-api plugin versions prior to 1.0.18 involves improper authorization checks in the requireNotSuperTarget() function within UsersController.php. Instead of verifying whether the API key itself has super-admin scope via isSuperWithinScope(), the code checks if the acting account is a super-admin using isSuperAdmin(). This logic flaw permits an API key scoped below full super authority, but linked to a super-admin account, to execute privileged operations on other super-admin accounts. These operations include disabling two-factor authentication, deleting avatars, minting new API keys under another user's identity, and deleting existing API keys, thereby compromising user management security.
Potential Impact
An attacker possessing an API key with limited scope but associated with a super-admin account can abuse this vulnerability to perform unauthorized administrative actions on other super-admin accounts. This includes disabling their two-factor authentication, deleting their avatars, creating new API keys impersonating them, or deleting their existing API keys. Such actions can lead to account takeover, privilege escalation, and loss of account integrity for super-admin users.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since the vulnerability affects versions before 1.0.18, upgrading to version 1.0.18 or later is likely the intended remediation once available. Until then, restrict API key issuance and monitor for suspicious activity related to super-admin accounts. Avoid using API keys with super-admin privileges unless absolutely necessary.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-25T23:15:39.155Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a8ec1fbacd9273b49be1537
Added to database: 08/26/2026, 10:37:47 UTC
Last enriched: 09/09/2026, 18:37:30 UTC
Last updated: 10/10/2026, 06:48:19 UTC
Views: 60
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.