Skip to content

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

MediumCVSS 5.3 EPSS 0.33%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
getgrav/grav < 1.0.13 1.0.13 Fixed

Affected products

ProductAffected versionsFixed in
getgrav/grav < 1.0.13 1.0.13

References