CVE-2026-72826
JSON

8.7high

Grav API Plugin before 1.0.13 Scope Bypass via createApiKey

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.74% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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

Affected

Product or packageVersionsReported by
getgrav grav-plugin-apibefore 1.0.13
Not affected: 1.0.13
CVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-266

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72826 changed 2026-10-29CVE Terms of Use
NVDCVE-2026-72826 changed 2026-10-29Public domain