Skip to main content
← All vulnerabilities
CVE-2026-72826

Grav API Plugin before 1.0.13 Scope Bypass via createApiKey

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.13
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • getgrav grav-plugin-api

    fixed in 1.0.13

References 2

GitHub · getgrav/grav

vulncheck.com