๐Ÿ” CVE Alert

CVE-2026-72822

CRITICAL 9.8

Grav before 1.0.13 Authentication Bypass via disable2fa

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-306
Vendor getgrav
Product grav
Published Aug 14, 2026
Stay Ahead of the Next One

Get instant alerts for getgrav grav

Be the first to know when new critical vulnerabilities affecting getgrav grav are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

getgrav / grav
0 < 1.0.13

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2 vulncheck.com: https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa

Credits

๐Ÿ” manus-use