CVE-2026-62231
8.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| getgrav | grav | 0 < 1.0.6 | affected |
| getgrav | grav | 1.0.6 | unaffected |
Weaknesses
- CWE-863: Incorrect Authorization
References
- https://github.com/getgrav/grav/security/advisories/GHSA-x7hm-jc32-v39j
- https://www.vulncheck.com/advisories/grav-api-key-scope-bypass-via-apikeyauthenticator
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.