CVE-2026-72822

published 14 Aug 2026 · updated 24 Aug 2026

Grav before 1.0.13 Authentication Bypass via disable2fa

8.8HighCVSS 8.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.0.13.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
getgrav<1.0.131.0.13

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-72822 severity on Zeptric[![CVE-2026-72822](https://zeptric.io/badge/cve/CVE-2026-72822.svg)](https://zeptric.io/cve/CVE-2026-72822)