# CVE-2026-62666: Grav API Plugin: non-super api.users.write manager -> super-admin via createApiKey (incomplete fix of CVE-2026-59190); + 2FA strip of super

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-08-19T15:36:37.169Z
- Modified: 2026-09-09T21:13:25.910Z
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Grav API Plugin is a RESTful API for Grav CMS that provides full headless access to your site's content. Prior to 1.0.6, Grav API plugin UsersController::createApiKey(), generate2fa(), and disable2fa() omit the accessGrantsSuper() target check used by sibling user mutation endpoints. A non-super account with api.users.write can mint an API key bound to an access.api.super target through requireApiKeyPermission(), obtain the target's full privileges because key scopes are not enforced, and create persistent super-administrator access; the same missing check also permits rotating or disabling the target's two-factor authentication. This issue is fixed in version 1.0.6.

(As written by CVE List.)

## Affected

- getgrav grav-plugin-api: < 1.0.6

## References

- <https://github.com/getgrav/grav/security/advisories/GHSA-8gg4-rvvv-cq96>
- <https://github.com/getgrav/grav-plugin-api/commit/dfcc947f0d6758772caac290c68fe8d4c4a4874e>
- <https://github.com/getgrav/grav-plugin-api/releases/tag/1.0.6>

## Sources

- CVE List: [CVE-2026-62666](https://www.cve.org/CVERecord?id=CVE-2026-62666), CVE Terms of Use, modified 2026-08-21
- NVD: [CVE-2026-62666](https://nvd.nist.gov/vuln/detail/CVE-2026-62666), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-62666 · Whole record: https://cve.day/CVE-2026-62666.json · Rebuilt by cve.day 2026-11-25T22:59:33.971Z
