Auth bypass in Getgrav Grav
CVE-2026-72822
The getgrav/grav-plugin-api Composer package before 1.0.13 (affected <= 1.0.12) fails to enforce API key scope caps on the disable2fa endpoint. Unlike the sibling generate2fa endpoint, disable2fa authorizes the admin (non-self) path solely via ACL reads (isSuperAdmin/hasPermission) and never invokes requirePermission(), so the api_key_scopes cap is never applied. As a result, a holder of a narrow-scope API key on a super account, or a non-super account whose ACL includes api.users.write, can force-disable two-factor authentication on any non-super target account via POST /api/v1/users/{user}/2fa/disable without providing a TOTP code, facilitating account takeover.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.006 (44.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 44th percentile — 44.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.006 · change: +0.003
Affected products
- Getgrav Grav — versions 0, 1.0.13
Weakness classification (CWE)
References
- github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2 (vendor-advisory)
- www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa (third-party-advisory)
Frequently asked questions
- What is CVE-2026-72822?
- CVE-2026-72822 is a high-severity vulnerability in Getgrav Grav, classified under Missing Authentication for Critical Function. CVSS score: 8.8/10. Published 2026-08-14.
- How severe is CVE-2026-72822?
- High severity. CVSS v3 base score is 8.8 out of 10.