{"id":"CVE-2026-72826","revision":"bb85867eddb0456db8e5d602ef700276","records":[{"revision":"bb85867eddb0456db8e5d602ef700276","observedAt":"2026-10-29T21:48:56.968+00:00","statement":{"source":"cve-program","id":"CVE-2026-72826","aliases":[],"title":"Grav API Plugin before 1.0.13 Scope Bypass via createApiKey","description":"The getgrav/grav-plugin-api plugin before 1.0.13 fails to validate that the scopes of a newly created API key are a subset of the caller's scopes in createApiKey. The self-target path of requireApiKeyPermission() requires only the baseline api.access scope, and the new key's scopes are read directly from the request body with no subset check. An attacker holding a minimal-scope API key on a super account can submit an empty scopes array to mint an unscoped, full-access super key, bypassing scope restrictions (and enabling further chains such as configuration write to RCE).","state":0,"publishedAt":"2026-08-14T11:35:34.46+00:00","modifiedAt":"2026-10-29T20:20:10.017+00:00","affected":[{"ecosystem":"Vendor product","name":"grav-plugin-api","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"getgrav\",\n                    \"product\": \"grav-plugin-api\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"1.0.13\"\n                        },\n                        {\n                            \"version\": \"1.0.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"repo\": \"https://github.com/getgrav/grav-plugin-api\"\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":8.7,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-95v9-4fcj-96gh","https://www.vulncheck.com/advisories/grav-before-scope-bypass-via-createapikey"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-72826","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-72826","identifiers":["CVE-2026-72826"]},"retained":false,"historicalAffected":[]}],"coverage":[]}