CVE-2026-72823 Grav before 1.0.13 API-key scope cap bypass via DemoController

Medium 5.3 Published Updated

Attackers with scoped API keys can bypass restrictions to control demo engine functions if demo mode is configured with writable resources.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-72823?

CVE-2026-72823 is a medium-severity missing authorization vulnerability in getgrav grav, published on 14 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-862

Which versions are affected by CVE-2026-72823?

How do I fix CVE-2026-72823?

No fix has been published for CVE-2026-72823 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-72823 being exploited?

There is no known exploitation of CVE-2026-72823 in the wild and no public exploit code.

Sources

Also known as GHSA-mfhq-ghcj-c36q.

Is CVE-2026-72823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free