Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-72826: Incorrect Privilege Assignment in getgrav grav

0
Critical
Published: 08/14/2026 (08/14/2026, 12:31:26 UTC)
Source: CVE Database V5
Vendor/Project: getgrav
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
getgrav/grav-plugin-api
pkg:github/getgrav/grav-plugin-api
Affected versions
<1.0.13

Run 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

AILast updated: 08/14/2026, 12:11:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses