Skip to content

CVE-2026-62667 Grav API Plugin : API Key 'scopes' Never Enforced - Delegated Least-Privilege Keys Carry Full User ACL

HighCVSS 8.1 EPSS 0.41%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.6, the Grav API plugin ApiKeyManager::generateKey() stores a declared scopes array, but ApiKeyAuthenticator::authenticate() does not read keyData[scopes] and returns the owning user's complete identity. AbstractApiController::requirePermission() consequently evaluates the full user ACL, so a key issued for a read-only scope can perform every write, delete, and administrative operation available to the owner. This issue is fixed in version 1.0.6.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
getgrav grav-plugin-api = < 1.0.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
getgrav grav-plugin-api = < 1.0.6 No fix listed

References