{"id":"CVE-2026-64852","summary":"Grav API Plugin: Missing authorization on API-key generate/revoke lets any admin.login user forge keys for any account","details":"Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.8, the Grav API plugin intercepts the apiKeyGenerate and apiKeyRevoke admin tasks in user/plugins/api/api.php and authorizes the caller with only admin.login. A basic panel user can select another account from the route, create a persistent ApiKeyManager credential bound to that target, and inherit the target's API permissions, including api.super or administrative write access when present. This issue is fixed in version 1.0.8.","aliases":["CVE-2026-65007","GHSA-7v74-m76q-8wf3"],"modified":"2026-08-21T03:46:57.533913268Z","published":"2026-08-19T16:00:06.335Z","database_specific":{"cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64852.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64852.json"},{"type":"ADVISORY","url":"https://github.com/getgrav/grav/security/advisories/GHSA-7v74-m76q-8wf3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64852"},{"type":"FIX","url":"https://github.com/getgrav/grav-plugin-api/commit/ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getgrav/grav-plugin-api","events":[{"introduced":"0"},{"fixed":"ed16f0aaa9b398c6f179fb8f51e0fa53e4ed8a30"},{"fixed":"af58f7908d2b6d5449cde2d7a25529805cab5882"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"1.0.8"}]}}],"versions":["1.0.7","1.0.6","1.0.5","1.0.4","1.0.3","1.0.2","1.0.1","1.0.0","1.0.0-rc.16","1.0.0-rc.15","1.0.0-rc.14","1.0.0-rc.13","1.0.0-rc.12","1.0.0-rc.11","1.0.0-rc.10","1.0.0-rc.9","1.0.0-rc.8","1.0.0-rc.7","1.0.0-rc.6","1.0.0-rc.5","1.0.0-rc.4","1.0.0-rc.3","1.0.0-rc.2","1.0.0-rc.1","1.0.0-beta.17","1.0.0-beta.16","1.0.0-beta.15","1.0.0-beta.14","1.0.0-beta.13","1.0.0-beta.12","1.0.0-beta.11","1.0.0-beta.10","1.0.0-beta.9","1.0.0-beta.8","1.0.0-beta.7","1.0.0-beta.6","1.0.0-beta.5","1.0.0-beta.4","1.0.0-beta.3","1.0.0-beta.2","1.0.0-beta.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64852.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}