Popis
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).
CVSS 8.8EPSS 0.261%Riziko 0.9
Zobraziť zdroj- Zverejnené
- 2026-08-14 12:16:45
- Dotknuté verzie
- <1.0.13
- Typ
- Knižnica
- Posledná úprava
- 2026-08-24 11:16:40
- Vektor
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H