Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API-key scope cap bypass in DemoController. Its private requireSuper() method checks isSuperAdmin() and returns early before invoking requirePermission(), so the api_key_scopes cap (enforced only in requirePermission()) is skipped. As a result, any scoped API key minted on a super account can bypass its scope restrictions when calling the baseline() and reset() operations (e.g. POST /api/v1/demo/reset), allowing it to capture the demo baseline or force a demo reset. Impact is bounded to demo-engine control and is conditional on demo mode being configured with writable resources.
Published: 2026-08-14
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Grav API plugin before version 1.0.13 contains a flaw that allows an attacker to bypass the API‑key scope cap in the DemoController, a classic example of CWE‑862 (Missing Authorization). The private requireSuper() method incorrectly returns early before invoking requirePermission(), meaning that any API key generated from a super‑admin account can perform demo baseline and reset operations without respecting its intended scope. This grants the attacker the ability to capture or force a reset of the demo environment, effectively giving them control over the demo engine when writable resources are configured.

Affected Systems

The affected product is Grav, a content‑management system provided by getgrav. All releases prior to 1.0.13 are vulnerable; the fix is included in 1.0.13 and later.

Risk and Exploitability

With a CVSS score of 5.3, the vulnerability poses a moderate risk. Exploitation requires an active API key derived from a super‑admin account and an environment where demo mode is enabled with writable resources, limiting its impact to the demo subsystem rather than the entire site. The EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog, indicating that widespread exploitation has not been observed yet.

Generated by OpenCVE AI on August 14, 2026 at 12:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Grav to version 1.0.13 or later to apply the vendor patch that restores proper scope enforcement in the API plugin.
  • If an upgrade cannot be performed immediately, temporarily disable demo mode or restrict writable resources to mitigate risk of unauthorized demo operations.
  • Regenerate or revoke any API keys that were issued from super‑admin accounts to eliminate the possibility of scope bypass pending a patch.
  • Enable monitoring for anomalous API activity, specifically repeated POST /api/v1/demo/reset or baseline calls that occur outside normal usage patterns.

Generated by OpenCVE AI on August 14, 2026 at 12:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 14 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Description The Grav API plugin (getgrav/grav-plugin-api) before 1.0.13 contains an API-key scope cap bypass in DemoController. Its private requireSuper() method checks isSuperAdmin() and returns early before invoking requirePermission(), so the api_key_scopes cap (enforced only in requirePermission()) is skipped. As a result, any scoped API key minted on a super account can bypass its scope restrictions when calling the baseline() and reset() operations (e.g. POST /api/v1/demo/reset), allowing it to capture the demo baseline or force a demo reset. Impact is bounded to demo-engine control and is conditional on demo mode being configured with writable resources.
Title Grav before 1.0.13 API-key scope cap bypass via DemoController
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-862
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-14T11:35:32.238Z

Reserved: 2026-08-10T15:12:59.508Z

Link: CVE-2026-72823

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-14T12:16:45.397

Modified: 2026-08-14T12:16:45.397

Link: CVE-2026-72823

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T13:00:11Z

Weaknesses