Privilege escalation in Getgrav Grav
CVE-2026-72830
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 55.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- GitHub Security Advisory (GHSA-2x29-3mjq-2pvx) (vendor-advisory)
- VulnCheck Advisory: Grav API Plugin before 1.0.13 RCE via ConfigController scope bypass (third-party-advisory)