{"id":"CVE-2026-72822","published":"2026-08-14T11:35:31Z","modified":"2026-08-24T10:28:31Z","title":"Grav before 1.0.13 Authentication Bypass via disable2fa","vendor":"getgrav","product":"grav","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00555,"percentile":0.39979,"provenance":"source"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-22p9-6fh4-mmf2","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/grav-before-authentication-bypass-via-disable2fa","tags":["third-party-advisory"]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":8.0},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"getgrav","affectedVersions":[{"vendor":"getgrav","product":"grav","versions":["< 1.0.13"]}],"fixedVersions":[{"vendor":"getgrav","product":"grav","versions":["1.0.13"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-14T15:17:03.687850Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-58636","exploited":false,"provenance":"source"}}