Skip to content

CVE-2026-72830 Grav API Plugin before 1.0.13 RCE via ConfigController scope bypass

HighCVSS 8.7 EPSS 0.74%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

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