CVE-2026-72830
JSON

8.7high

Grav API Plugin before 1.0.13 RCE via ConfigController scope bypass

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

Description

Grav API plugin versions before 1.0.13 fail to enforce API key scope caps in ConfigController super-scope gates, allowing scoped keys to write scheduler configuration. The scope cap is applied only inside requirePermission(), while the scheduler and backups gates use a bare isSuperAdmin() check that never consults api_key_scopes. An attacker holding an API key scoped to api.config.write that was minted on a super account can therefore inject arbitrary commands into scheduler.custom_jobs, which Job::run() passes to a Symfony Process, achieving operating system command execution as the web server user.

Affected

Product or packageVersionsReported by
getgrav gravbefore 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-269

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

References

Sources

SourceRecordLicence
CVE ListCVE-2026-72830 changed 2026-08-24CVE Terms of Use
NVDCVE-2026-72830 changed 2026-08-31Public domain