CVE Catalog

CVE-2026-62667

HighCVSS 8.1
Published: Translated: NVD NIST

Summary

The Grav API plugin before version 1.0.6 contains a vulnerability where ApiKeyManager::generateKey() stores a declared scopes array, but ApiKeyAuthenticator::authenticate() does not read keyData[scopes] and returns the owning user's complete identity. Consequently, AbstractApiController::requirePermission() 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.

Risk Assessment

The risk includes privilege escalation where an API key with limited permissions can gain full access to resources, potentially leading to unauthorized changes and security breaches.

Recommendation

It is recommended to upgrade the Grav API plugin to version 1.0.6 or later to ensure enforcement of API key scopes.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS