CVE-2026-62231 Details
Description
The Grav API plugin (getgrav/grav-plugin-api) before 1.0.6 contains an authorization bypass: API keys can be created with a restricted scopes array, but the ApiKeyAuthenticator class never reads or enforces these scopes. It loads and returns the owning user's full account object, so a key created with limited scopes (e.g. read-only) can perform any write, delete, or administrative operation the owning user is authorized for. Fixed in 1.0.6.
An authorization bypass vulnerability has been identified in the Grav API plugin (getgrav/grav-plugin-api) versions prior to 1.0.6. The issue arises because the ApiKeyAuthenticator class does not read or enforce the scopes assigned to API keys. Although keys can be created with restricted scopes, the authenticator returns the full account object of the user, allowing keys with limited scopes to perform any write, delete, or administrative actions that the user is authorized for. This vulnerability effectively defeats the principle of least privilege, as a key designated for read-only access can exploit full user privileges.
Users are advised to update the Grav API plugin to version 1.0.6 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getgrav/grav/security/advisories/GHSA-x7hm-jc32-v39j | CISA-ADP | AdvisoryExploitTechnical DescriptionVendor |
| https://github.com/getgrav/grav/security/advisories/GHSA-x7hm-jc32-v39j | [email protected] | AdvisoryExploitTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/grav-api-key-scope-bypass-via-apikeyauthenticator | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grav API | >= 0, < 1.0.6 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | [email protected] |
Volerion