Authentication Bypass in Grav Plugin Affects Admin Accounts
CVE-2026-72822
9.3CRITICAL
What is CVE-2026-72822?
The Grav Plugin API version prior to 1.0.13 contains a vulnerability that allows an attacker to bypass two-factor authentication (2FA) for user accounts. This issue arises because the disable2fa endpoint does not enforce the correct API key scope restrictions. Unlike the secure generate2fa endpoint, disable2fa relies solely on access control list (ACL) checks without invoking required permission validations. As a result, users with limited access tokens, including non-super users with certain permissions, can disable 2FA for any target account without the need for a time-based one-time password (TOTP), making it easier for attackers to take over accounts.
Affected Version(s)
grav 0 < 1.0.13
grav 1.0.13
